#3E5114#3E5114

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

Color values

HEX#3E5114
RGBrgb(62, 81, 20)
HSLhsl(79, 60%, 20%)
HSVhsv(79, 75%, 32%)
CMYKcmyk(23.5%, 0%, 75.3%, 68.2%)
CIE-LABlab(31.71, -17.63, 31.90)
CIE-LCHlch(31.71, 36.45, 118.93°)
OKLaboklab(40.53% -0.0508 0.0719)
OKLCHoklch(40.53% 0.088 125.2)
XYZxyz(5.0553, 6.9594, 1.7387)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5114 #271451
analogous
#514614 #3E5114 #1F5114
triadic
#3E5114 #143E51 #51143E
tetradic
#3E5114 #145146 #271451 #51141F
square
#3E5114 #145146 #271451 #51141F
split-complementary
#3E5114 #141F51 #461451
monochromatic
#131906 #182008 #3E5114 #648220 #89B32C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E5114#FFFFFF#000000##FFFFFF
##3E51141.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)
#564B0B
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#414D45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e5114;
/* rgb */ color: rgb(62, 81, 20);
/* oklch */ color: oklch(40.5% 0.088 125.2);
Tailwind
colors: {
  custom: {
    50: '#758256',
    500: '#3e5114',
    950: '#000000',
  },
}
SCSS
$custom: #3e5114;
$custom-light: #758256;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5114",
  "rgb": {
    "r": 62,
    "g": 81,
    "b": 20
  },
  "hsl": {
    "h": 78.689,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40533,
    "c": 0.08806,
    "h": 125.2
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#3E5114
secondary
#513889
accent
#44E476
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3E5114

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

Preview Lab → · Contrast checker → · Palette generator →

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