#3E5811#3E5811

#3E5811 is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.4% C 0.100 H 128.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#3E5811
RGBrgb(62, 88, 17)
HSLhsl(82, 68%, 21%)
HSVhsv(82, 81%, 35%)
CMYKcmyk(29.5%, 0%, 80.7%, 65.5%)
CIE-LABlab(34.07, -21.54, 35.49)
CIE-LCHlch(34.07, 41.51, 121.25°)
OKLaboklab(42.44% -0.0618 0.0789)
OKLCHoklch(42.44% 0.1 128)
XYZxyz(5.5775, 8.0439, 1.7890)
Luminance0.0804 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5811 #2B1158
analogous
#584E11 #3E5811 #1A5811
triadic
#3E5811 #113E58 #58113E
tetradic
#3E5811 #11584E #2B1158 #58111A
square
#3E5811 #11584E #2B1158 #58111A
split-complementary
#3E5811 #111A58 #4E1158
monochromatic
#121A05 #1A2507 #3E5811 #628B1B #86BF25

Accessibility & contrast

On white

8.05
#3E5811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3E5811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5811
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5811#FFFFFF#000000##FFFFFF
##3E58111.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5103
Deuteranopia (green-blind)
#595018
Tritanopia (blue-blind)
#40544A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e5811;
/* rgb */ color: rgb(62, 88, 17);
/* oklch */ color: oklch(42.4% 0.100 128.0);
Tailwind
colors: {
  custom: {
    50: '#768755',
    500: '#3e5811',
    950: '#000000',
  },
}
SCSS
$custom: #3e5811;
$custom-light: #768755;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5811",
  "rgb": {
    "r": 62,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 81.972,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42439,
    "c": 0.10023,
    "h": 128
  },
  "luminance": 0.08044
}

Semantic roles & 50–950 ramp

primary
#3E5811
secondary
#563491
accent
#3DEA7D
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3E5811

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

Preview Lab → · Contrast checker → · Palette generator →

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