#3E5815#3E5815

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

Color values

HEX#3E5815
RGBrgb(62, 88, 21)
HSLhsl(83, 61%, 21%)
HSVhsv(83, 76%, 35%)
CMYKcmyk(29.5%, 0%, 76.1%, 65.5%)
CIE-LABlab(34.10, -21.26, 33.89)
CIE-LCHlch(34.10, 40.01, 122.11°)
OKLaboklab(42.47% -0.0606 0.0763)
OKLCHoklch(42.47% 0.097 128.5)
XYZxyz(5.6117, 8.0576, 1.9689)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5815 #2F1558
analogous
#585115 #3E5815 #1D5815
triadic
#3E5815 #153E58 #58153E
tetradic
#3E5815 #155851 #2F1558 #58151D
square
#3E5815 #155851 #2F1558 #58151D
split-complementary
#3E5815 #151D58 #511558
monochromatic
#111906 #1B2709 #3E5815 #618921 #84BB2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E5815#FFFFFF#000000##FFFFFF
##3E58151.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)
#5D510A
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#40544B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e5815;
/* rgb */ color: rgb(62, 88, 21);
/* oklch */ color: oklch(42.5% 0.097 128.5);
Tailwind
colors: {
  custom: {
    50: '#768757',
    500: '#3e5815',
    950: '#000000',
  },
}
SCSS
$custom: #3e5815;
$custom-light: #768757;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5815",
  "rgb": {
    "r": 62,
    "g": 88,
    "b": 21
  },
  "hsl": {
    "h": 83.284,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42471,
    "c": 0.09745,
    "h": 128.5
  },
  "luminance": 0.08058
}

Semantic roles & 50–950 ramp

primary
#3E5815
secondary
#5B3990
accent
#43E582
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3E5815

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

Preview Lab → · Contrast checker → · Palette generator →

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