#3E511B#3E511B

#3E511B is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.6% C 0.082 H 126.2°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#3E511B
RGBrgb(62, 81, 27)
HSLhsl(81, 50%, 21%)
HSVhsv(81, 67%, 32%)
CMYKcmyk(23.5%, 0%, 66.7%, 68.2%)
CIE-LABlab(31.78, -17.03, 28.61)
CIE-LCHlch(31.78, 33.30, 120.76°)
OKLaboklab(40.61% -0.0484 0.0661)
OKLCHoklch(40.61% 0.082 126.2)
XYZxyz(5.1269, 6.9881, 2.1154)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E511B #2E1B51
analogous
#51491B #3E511B #23511B
triadic
#3E511B #1B3E51 #511B3E
tetradic
#3E511B #1B5149 #2E1B51 #511B23
square
#3E511B #1B5149 #2E1B51 #511B23
split-complementary
#3E511B #1B2351 #491B51
monochromatic
#121708 #1B230C #3E511B #617F2A #84AD3A

Accessibility & contrast

On white

8.76
#3E511B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3E511B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E511B
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E511B#FFFFFF#000000##FFFFFF
##3E511B1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B15
Deuteranopia (green-blind)
#534A1F
Tritanopia (blue-blind)
#414D46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e511b;
/* rgb */ color: rgb(62, 81, 27);
/* oklch */ color: oklch(40.6% 0.082 126.2);
Tailwind
colors: {
  custom: {
    50: '#75825a',
    500: '#3e511b',
    950: '#000000',
  },
}
SCSS
$custom: #3e511b;
$custom-light: #75825a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e511b",
  "rgb": {
    "r": 62,
    "g": 81,
    "b": 27
  },
  "hsl": {
    "h": 81.111,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.40606,
    "c": 0.08191,
    "h": 126.2
  },
  "luminance": 0.06988
}

Semantic roles & 50–950 ramp

primary
#3E511B
secondary
#5A4187
accent
#4EDA7F
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #3E511B

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

Preview Lab → · Contrast checker → · Palette generator →

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