#3E510C#3E510C

#3E510C is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.5% C 0.094 H 124.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#3E510C
RGBrgb(62, 81, 12)
HSLhsl(77, 74%, 18%)
HSVhsv(77, 85%, 32%)
CMYKcmyk(23.5%, 0%, 85.2%, 68.2%)
CIE-LABlab(31.66, -18.14, 35.06)
CIE-LCHlch(31.66, 39.47, 117.36°)
OKLaboklab(40.47% -0.0529 0.0771)
OKLCHoklch(40.47% 0.094 124.5)
XYZxyz(4.9954, 6.9355, 1.4233)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E510C #1F0C51
analogous
#51410C #3E510C #1B510C
triadic
#3E510C #0C3E51 #510C3E
tetradic
#3E510C #0C5141 #1F0C51 #510C1B
square
#3E510C #0C5141 #1F0C51 #510C1B
split-complementary
#3E510C #0C1B51 #410C51
monochromatic
#141B04 #151C04 #3E510C #678614 #90BC1C

Accessibility & contrast

On white

8.80
#3E510C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E510C
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E510C#FFFFFF#000000##FFFFFF
##3E510C1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B00
Deuteranopia (green-blind)
#544A13
Tritanopia (blue-blind)
#414D44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e510c;
/* rgb */ color: rgb(62, 81, 12);
/* oklch */ color: oklch(40.5% 0.094 124.5);
Tailwind
colors: {
  custom: {
    50: '#768252',
    500: '#3e510c',
    950: '#000000',
  },
}
SCSS
$custom: #3e510c;
$custom-light: #768252;
$custom-dark: #000000;
JSON
{
  "hex": "#3e510c",
  "rgb": {
    "r": 62,
    "g": 81,
    "b": 12
  },
  "hsl": {
    "h": 76.522,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.40471,
    "c": 0.09353,
    "h": 124.5
  },
  "luminance": 0.06936
}

Semantic roles & 50–950 ramp

primary
#3E510C
secondary
#472C8C
accent
#37F16A
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090A02
muted
#7B7C78

Preview Lab

Preview with #3E510C

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

Preview Lab → · Contrast checker → · Palette generator →

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