#3E6312#3E6312

#3E6312 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.5% C 0.115 H 131.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#3E6312
RGBrgb(62, 99, 18)
HSLhsl(87, 69%, 23%)
HSVhsv(87, 82%, 39%)
CMYKcmyk(37.4%, 0%, 81.8%, 61.2%)
CIE-LABlab(37.83, -26.94, 38.70)
CIE-LCHlch(37.83, 47.16, 124.84°)
OKLaboklab(45.5% -0.0763 0.0859)
OKLCHoklch(45.5% 0.115 131.6)
XYZxyz(6.5576, 9.9912, 2.1551)
Luminance0.0999 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E6312 #371263
analogous
#635F12 #3E6312 #166312
triadic
#3E6312 #123E63 #63123E
tetradic
#3E6312 #12635F #371263 #631216
square
#3E6312 #12635F #371263 #631216
split-complementary
#3E6312 #121663 #5F1263
monochromatic
#101A05 #1E2F09 #3E6312 #5E971B #7FCB25

Accessibility & contrast

On white

7.00
#3E6312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#3E6312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E6312
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E6312#FFFFFF#000000##FFFFFF
##3E63121.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B01
Deuteranopia (green-blind)
#63581B
Tritanopia (blue-blind)
#3F5F54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3e6312;
/* rgb */ color: rgb(62, 99, 18);
/* oklch */ color: oklch(45.5% 0.115 131.6);
Tailwind
colors: {
  custom: {
    50: '#778f57',
    500: '#3e6312',
    950: '#000000',
  },
}
SCSS
$custom: #3e6312;
$custom-light: #778f57;
$custom-dark: #000000;
JSON
{
  "hex": "#3e6312",
  "rgb": {
    "r": 62,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 87.407,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45498,
    "c": 0.11488,
    "h": 131.6
  },
  "luminance": 0.09991
}

Semantic roles & 50–950 ramp

primary
#3E6312
secondary
#64369B
accent
#3CEC8C
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3E6312

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

Preview Lab → · Contrast checker → · Palette generator →

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