#3E5814#3E5814

#3E5814 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.5% C 0.098 H 128.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#3E5814
RGBrgb(62, 88, 20)
HSLhsl(83, 63%, 21%)
HSVhsv(83, 77%, 35%)
CMYKcmyk(29.5%, 0%, 77.3%, 65.5%)
CIE-LABlab(34.10, -21.34, 34.30)
CIE-LCHlch(34.10, 40.40, 121.88°)
OKLaboklab(42.46% -0.0609 0.077)
OKLCHoklch(42.46% 0.098 128.4)
XYZxyz(5.6026, 8.0540, 1.9211)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5814 #2E1458
analogous
#585014 #3E5814 #1C5814
triadic
#3E5814 #143E58 #58143E
tetradic
#3E5814 #145850 #2E1458 #58141C
square
#3E5814 #145850 #2E1458 #58141C
split-complementary
#3E5814 #141C58 #501458
monochromatic
#121906 #1B2609 #3E5814 #618A1F #84BC2B

Accessibility & contrast

On white

8.04
#3E5814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E5814
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5814#FFFFFF#000000##FFFFFF
##3E58141.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5108
Deuteranopia (green-blind)
#59501A
Tritanopia (blue-blind)
#40544B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e5814;
/* rgb */ color: rgb(62, 88, 20);
/* oklch */ color: oklch(42.5% 0.098 128.4);
Tailwind
colors: {
  custom: {
    50: '#768757',
    500: '#3e5814',
    950: '#000000',
  },
}
SCSS
$custom: #3e5814;
$custom-light: #768757;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5814",
  "rgb": {
    "r": 62,
    "g": 88,
    "b": 20
  },
  "hsl": {
    "h": 82.941,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42463,
    "c": 0.09818,
    "h": 128.4
  },
  "luminance": 0.08054
}

Semantic roles & 50–950 ramp

primary
#3E5814
secondary
#5A3890
accent
#42E681
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3E5814

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

Preview Lab → · Contrast checker → · Palette generator →

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