#3E5F12#3E5F12

#3E5F12 is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.4% C 0.109 H 130.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#3E5F12
RGBrgb(62, 95, 18)
HSLhsl(86, 68%, 22%)
HSVhsv(86, 81%, 37%)
CMYKcmyk(34.7%, 0%, 81.1%, 62.7%)
CIE-LABlab(36.47, -25.00, 37.41)
CIE-LCHlch(36.47, 44.99, 123.75°)
OKLaboklab(44.39% -0.0711 0.0831)
OKLCHoklch(44.39% 0.109 130.5)
XYZxyz(6.1880, 9.2520, 2.0319)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5F12 #33125F
analogous
#5F5A12 #3E5F12 #185F12
triadic
#3E5F12 #123E5F #5F123E
tetradic
#3E5F12 #125F5A #33125F #5F1218
square
#3E5F12 #125F5A #33125F #5F1218
split-complementary
#3E5F12 #12185F #5A125F
monochromatic
#111A05 #1C2C08 #3E5F12 #60921C #81C625

Accessibility & contrast

On white

7.37
#3E5F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3E5F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5F12
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5F12#FFFFFF#000000##FFFFFF
##3E5F121.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645702
Deuteranopia (green-blind)
#5F551A
Tritanopia (blue-blind)
#405B50
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e5f12;
/* rgb */ color: rgb(62, 95, 18);
/* oklch */ color: oklch(44.4% 0.109 130.5);
Tailwind
colors: {
  custom: {
    50: '#778c57',
    500: '#3e5f12',
    950: '#000000',
  },
}
SCSS
$custom: #3e5f12;
$custom-light: #778c57;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5f12",
  "rgb": {
    "r": 62,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 85.714,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44387,
    "c": 0.10938,
    "h": 130.5
  },
  "luminance": 0.09252
}

Semantic roles & 50–950 ramp

primary
#3E5F12
secondary
#5F3697
accent
#3DEB87
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3E5F12

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

Preview Lab → · Contrast checker → · Palette generator →

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