#3E520F#3E520F

#3E520F is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.8% C 0.093 H 125.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#3E520F
RGBrgb(62, 82, 15)
HSLhsl(78, 69%, 19%)
HSVhsv(78, 82%, 32%)
CMYKcmyk(24.4%, 0%, 81.7%, 67.8%)
CIE-LABlab(32.02, -18.51, 34.29)
CIE-LCHlch(32.02, 38.96, 118.36°)
OKLaboklab(40.77% -0.0537 0.0761)
OKLCHoklch(40.77% 0.093 125.2)
XYZxyz(5.0902, 7.0931, 1.5528)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E520F #230F52
analogous
#52450F #3E520F #1D520F
triadic
#3E520F #0F3E52 #520F3E
tetradic
#3E520F #0F5245 #230F52 #520F1D
square
#3E520F #0F5245 #230F52 #520F1D
split-complementary
#3E520F #0F1D52 #450F52
monochromatic
#141A05 #171E06 #3E520F #658618 #8CB922

Accessibility & contrast

On white

8.68
#3E520F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3E520F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E520F
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E520F#FFFFFF#000000##FFFFFF
##3E520F1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C03
Deuteranopia (green-blind)
#544B15
Tritanopia (blue-blind)
#414E45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e520f;
/* rgb */ color: rgb(62, 82, 15);
/* oklch */ color: oklch(40.8% 0.093 125.2);
Tailwind
colors: {
  custom: {
    50: '#768253',
    500: '#3e520f',
    950: '#000000',
  },
}
SCSS
$custom: #3e520f;
$custom-light: #768253;
$custom-dark: #000000;
JSON
{
  "hex": "#3e520f",
  "rgb": {
    "r": 62,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 77.91,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40767,
    "c": 0.09308,
    "h": 125.2
  },
  "luminance": 0.07093
}

Semantic roles & 50–950 ramp

primary
#3E520F
secondary
#4C318C
accent
#3CEC70
background
#F7F7F4
surface
#EDEEE8
border
#C8C9C4
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3E520F

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

Preview Lab → · Contrast checker → · Palette generator →

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