#3E5517#3E5517

#3E5517 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.7% C 0.091 H 127.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#3E5517
RGBrgb(62, 85, 23)
HSLhsl(82, 57%, 21%)
HSVhsv(82, 73%, 33%)
CMYKcmyk(27.1%, 0%, 72.9%, 66.7%)
CIE-LABlab(33.10, -19.54, 31.97)
CIE-LCHlch(33.10, 37.47, 121.43°)
OKLaboklab(41.66% -0.0557 0.0726)
OKLCHoklch(41.66% 0.092 127.5)
XYZxyz(5.3898, 7.5829, 1.9901)
Luminance0.0758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5517 #2E1755
analogous
#554D17 #3E5517 #1F5517
triadic
#3E5517 #173E55 #55173E
tetradic
#3E5517 #17554D #2E1755 #55171F
square
#3E5517 #17554D #2E1755 #55171F
split-complementary
#3E5517 #171F55 #4D1755
monochromatic
#121807 #1B250A #3E5517 #618524 #84B531

Accessibility & contrast

On white

8.34
#3E5517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3E5517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5517
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5517#FFFFFF#000000##FFFFFF
##3E55171.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0E
Deuteranopia (green-blind)
#564D1C
Tritanopia (blue-blind)
#405148
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3e5517;
/* rgb */ color: rgb(62, 85, 23);
/* oklch */ color: oklch(41.7% 0.091 127.5);
Tailwind
colors: {
  custom: {
    50: '#768558',
    500: '#3e5517',
    950: '#000000',
  },
}
SCSS
$custom: #3e5517;
$custom-light: #768558;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5517",
  "rgb": {
    "r": 62,
    "g": 85,
    "b": 23
  },
  "hsl": {
    "h": 82.258,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41662,
    "c": 0.0915,
    "h": 127.5
  },
  "luminance": 0.07583
}

Semantic roles & 50–950 ramp

primary
#3E5517
secondary
#5A3C8C
accent
#47E180
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3E5517

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

Preview Lab → · Contrast checker → · Palette generator →

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