#3E5112#3E5112

#3E5112 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.5% C 0.090 H 125.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#3E5112
RGBrgb(62, 81, 18)
HSLhsl(78, 64%, 19%)
HSVhsv(78, 78%, 32%)
CMYKcmyk(23.5%, 0%, 77.8%, 68.2%)
CIE-LABlab(31.70, -17.77, 32.76)
CIE-LCHlch(31.70, 37.27, 118.48°)
OKLaboklab(40.52% -0.0514 0.0734)
OKLCHoklch(40.52% 0.09 125)
XYZxyz(5.0383, 6.9526, 1.6487)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5112 #251251
analogous
#514512 #3E5112 #1F5112
triadic
#3E5112 #123E51 #51123E
tetradic
#3E5112 #125145 #251251 #51121F
square
#3E5112 #125145 #251251 #51121F
split-complementary
#3E5112 #121F51 #451251
monochromatic
#131906 #181F07 #3E5112 #64831D #8BB528

Accessibility & contrast

On white

8.78
#3E5112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3E5112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5112
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5112#FFFFFF#000000##FFFFFF
##3E51121.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B07
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#414D45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e5112;
/* rgb */ color: rgb(62, 81, 18);
/* oklch */ color: oklch(40.5% 0.090 125.0);
Tailwind
colors: {
  custom: {
    50: '#768255',
    500: '#3e5112',
    950: '#000000',
  },
}
SCSS
$custom: #3e5112;
$custom-light: #768255;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5112",
  "rgb": {
    "r": 62,
    "g": 81,
    "b": 18
  },
  "hsl": {
    "h": 78.095,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40515,
    "c": 0.08959,
    "h": 125
  },
  "luminance": 0.06953
}

Semantic roles & 50–950 ramp

primary
#3E5112
secondary
#4F358A
accent
#41E773
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3E5112

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

Preview Lab → · Contrast checker → · Palette generator →

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