Skip to content

#30642B Color

#30642B is rgb(48, 100, 43) in RGB, hsl(115, 40%, 28%) in HSL, and about cmyk(52%, 0%, 57%, 61%) in CMYK. It has no registered color name of its own — the closest is Mughal Green (#306030), clearly related but distinguishable side by side at ΔE 5.05. White text is the more readable choice on this background.

#30642B
HEX#30642B
RGBrgb(48, 100, 43)
HSLhsl(115, 40%, 28%)
HSVhsv(115, 57%, 39%)
CMYKcmyk(52%, 0%, 57%, 61%)
OKLCHoklch(45.3% 0.104 142)
LABlab(37.73% -27.68 26.36)
LCHlch(37.73% 38.23 136.40)

What #30642B Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #30642B, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every green in the library.

#30642B Channel Values

How #30642B breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 48 · G 100 · B 438-bit channels as sent to the display
HSLH 115° · S 40% · L 28%Easiest model for building lighter and darker variants
HSVH 115° · S 57% · V 39%Matches the picker in most design tools
CMYKC 52% · M 0% · Y 57% · K 61%Approximate ink mix; confirm with an ICC profile before printing
Luminance7.04:1 vs white · 2.98:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #30642B background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text7.04:1AA normal AA large AAA normal
Fails AABlack text2.98:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #30642B in the contrast checker.

Colors That Go With #30642B

Pairings derived from color-wheel relationships. The complementary color sits opposite #30642B; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #30642B

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #30642B.

How #30642B Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#30642B
Protanopia#5E5E2B
Protanomaly#4F602B
Deuteranopia#57572E
Deuteranomaly#4A5C2D
Tritanopia#3A5F5F
Tritanomaly#36614F
Achromatopsia#595959

Test a full palette in the color blindness simulator.

Using #30642B in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-30642b: #30642B;
CSS backgroundbackground-color: #30642B;
Tailwind configcolors: { 'color-30642b': '#30642B' }
SwiftUIColor(red: 0.188, green: 0.392, blue: 0.169)
Android XML<color name="color_30642b">#30642B</color>
SVG fillfill="#30642B"

More Green Colors

#30642B sits in the green family. These are its neighbours across that family's full range, each with its own breakdown.

#30642B Frequently Asked Questions

What color is #30642B?

#30642B is a dark green — rgb(48, 100, 43) in RGB and hsl(115, 40%, 28%) in HSL. It carries no registered color name of its own; the closest named color is Mughal Green (#306030), which is clearly related but distinguishable side by side at a CIE76 distance of 5.05.

What is the RGB value of #30642B?

#30642B is rgb(48, 100, 43) — red 48, green 100, and blue 43 on the 0-255 scale.

What is the CMYK value of #30642B?

#30642B converts to approximately cmyk(52%, 0%, 57%, 61%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #30642B be black or white?

White text is the more readable choice. #30642B scores 7.04:1 against white and 2.98:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #30642B as a CSS color keyword?

No. #30642B is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is darkolivegreen (#556B2F) at a CIE76 distance of 12.82, which is visibly different.

Open #30642B in a Tool

Keep exploring: every green in the color library, the guide to shades of green, or the full color library.