#3E4F12#3E4F12

#3E4F12 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 40.0% C 0.087 H 123.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#3E4F12
RGBrgb(62, 79, 18)
HSLhsl(77, 63%, 19%)
HSVhsv(77, 77%, 31%)
CMYKcmyk(21.5%, 0%, 77.2%, 69%)
CIE-LABlab(31.02, -16.68, 32.08)
CIE-LCHlch(31.02, 36.16, 117.48°)
OKLaboklab(39.97% -0.0484 0.072)
OKLCHoklch(39.97% 0.087 123.9)
XYZxyz(4.8918, 6.6597, 1.5999)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4F12 #23124F
analogous
#4F4212 #3E4F12 #204F12
triadic
#3E4F12 #123E4F #4F123E
tetradic
#3E4F12 #124F42 #23124F #4F1220
square
#3E4F12 #124F42 #23124F #4F1220
split-complementary
#3E4F12 #12204F #42124F
monochromatic
#141906 #171D07 #3E4F12 #65811D #8CB329

Accessibility & contrast

On white

9.01
#3E4F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3E4F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4F12
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4F12#FFFFFF#000000##FFFFFF
##3E4F121.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A08
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#414B43
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3e4f12;
/* rgb */ color: rgb(62, 79, 18);
/* oklch */ color: oklch(40.0% 0.087 123.9);
Tailwind
colors: {
  custom: {
    50: '#758054',
    500: '#3e4f12',
    950: '#000000',
  },
}
SCSS
$custom: #3e4f12;
$custom-light: #758054;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4f12",
  "rgb": {
    "r": 62,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 76.721,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39965,
    "c": 0.08672,
    "h": 123.9
  },
  "luminance": 0.0666
}

Semantic roles & 50–950 ramp

primary
#3E4F12
secondary
#4C3588
accent
#42E670
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3E4F12

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3E4F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva