#3E5717#3E5717

#3E5717 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.2% C 0.094 H 128.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#3E5717
RGBrgb(62, 87, 23)
HSLhsl(83, 58%, 22%)
HSVhsv(83, 74%, 34%)
CMYKcmyk(28.7%, 0%, 73.6%, 65.9%)
CIE-LABlab(33.78, -20.59, 32.68)
CIE-LCHlch(33.78, 38.62, 122.22°)
OKLaboklab(42.21% -0.0586 0.0741)
OKLCHoklch(42.21% 0.094 128.4)
XYZxyz(5.5494, 7.9023, 2.0434)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5717 #301757
analogous
#575017 #3E5717 #1E5717
triadic
#3E5717 #173E57 #57173E
tetradic
#3E5717 #175750 #301757 #57171E
square
#3E5717 #175750 #301757 #57171E
split-complementary
#3E5717 #171E57 #501757
monochromatic
#111806 #1C270A #3E5717 #608724 #83B831

Accessibility & contrast

On white

8.14
#3E5717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3E5717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5717
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5717#FFFFFF#000000##FFFFFF
##3E57171.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510E
Deuteranopia (green-blind)
#584F1C
Tritanopia (blue-blind)
#40534A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3e5717;
/* rgb */ color: rgb(62, 87, 23);
/* oklch */ color: oklch(42.2% 0.094 128.4);
Tailwind
colors: {
  custom: {
    50: '#768658',
    500: '#3e5717',
    950: '#000000',
  },
}
SCSS
$custom: #3e5717;
$custom-light: #768658;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5717",
  "rgb": {
    "r": 62,
    "g": 87,
    "b": 23
  },
  "hsl": {
    "h": 83.438,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42213,
    "c": 0.09445,
    "h": 128.4
  },
  "luminance": 0.07902
}

Semantic roles & 50–950 ramp

primary
#3E5717
secondary
#5C3C8E
accent
#46E183
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3E5717

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

Preview Lab → · Contrast checker → · Palette generator →

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