#3E5412#3E5412

#3E5412 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.3% C 0.094 H 126.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#3E5412
RGBrgb(62, 84, 18)
HSLhsl(80, 65%, 20%)
HSVhsv(80, 79%, 33%)
CMYKcmyk(26.2%, 0%, 78.6%, 67.1%)
CIE-LABlab(32.72, -19.38, 33.77)
CIE-LCHlch(32.72, 38.94, 119.85°)
OKLaboklab(41.34% -0.0558 0.0755)
OKLCHoklch(41.34% 0.094 126.5)
XYZxyz(5.2661, 7.4084, 1.7247)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5412 #281254
analogous
#544912 #3E5412 #1D5412
triadic
#3E5412 #123E54 #54123E
tetradic
#3E5412 #125449 #281254 #54121D
square
#3E5412 #125449 #281254 #54121D
split-complementary
#3E5412 #121D54 #491254
monochromatic
#131905 #192207 #3E5412 #63861D #88B928

Accessibility & contrast

On white

8.46
#3E5412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3E5412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5412
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5412#FFFFFF#000000##FFFFFF
##3E54121.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#564D18
Tritanopia (blue-blind)
#415047
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3e5412;
/* rgb */ color: rgb(62, 84, 18);
/* oklch */ color: oklch(41.3% 0.094 126.5);
Tailwind
colors: {
  custom: {
    50: '#768455',
    500: '#3e5412',
    950: '#000000',
  },
}
SCSS
$custom: #3e5412;
$custom-light: #768455;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5412",
  "rgb": {
    "r": 62,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 80,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.41341,
    "c": 0.09388,
    "h": 126.5
  },
  "luminance": 0.07408
}

Semantic roles & 50–950 ramp

primary
#3E5412
secondary
#52358D
accent
#40E878
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3E5412

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

Preview Lab → · Contrast checker → · Palette generator →

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