#3E4E12#3E4E12

#3E4E12 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.7% C 0.085 H 123.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#3E4E12
RGBrgb(62, 78, 18)
HSLhsl(76, 63%, 19%)
HSVhsv(76, 77%, 31%)
CMYKcmyk(20.5%, 0%, 76.9%, 69.4%)
CIE-LABlab(30.68, -16.13, 31.74)
CIE-LCHlch(30.68, 35.61, 116.94°)
OKLaboklab(39.69% -0.0469 0.0712)
OKLCHoklch(39.69% 0.085 123.3)
XYZxyz(4.8202, 6.5166, 1.5760)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4E12 #22124E
analogous
#4E4012 #3E4E12 #204E12
triadic
#3E4E12 #123E4E #4E123E
tetradic
#3E4E12 #124E40 #22124E #4E1220
square
#3E4E12 #124E40 #22124E #4E1220
split-complementary
#3E4E12 #12204E #40124E
monochromatic
#141906 #161C07 #3E4E12 #66801D #8DB129

Accessibility & contrast

On white

9.12
#3E4E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3E4E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4E12
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4E12#FFFFFF#000000##FFFFFF
##3E4E121.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534908
Deuteranopia (green-blind)
#514817
Tritanopia (blue-blind)
#414A42
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3e4e12;
/* rgb */ color: rgb(62, 78, 18);
/* oklch */ color: oklch(39.7% 0.085 123.3);
Tailwind
colors: {
  custom: {
    50: '#757f54',
    500: '#3e4e12',
    950: '#000000',
  },
}
SCSS
$custom: #3e4e12;
$custom-light: #757f54;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4e12",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 76,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39691,
    "c": 0.08528,
    "h": 123.3
  },
  "luminance": 0.06517
}

Semantic roles & 50–950 ramp

primary
#3E4E12
secondary
#4B3587
accent
#42E66E
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3E4E12

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

Preview Lab → · Contrast checker → · Palette generator →

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