#3E5015#3E5015

#3E5015 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.3% C 0.086 H 124.8°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#3E5015
RGBrgb(62, 80, 21)
HSLhsl(78, 58%, 20%)
HSVhsv(78, 74%, 31%)
CMYKcmyk(22.5%, 0%, 73.7%, 68.6%)
CIE-LABlab(31.38, -17.01, 31.11)
CIE-LCHlch(31.38, 35.45, 118.67°)
OKLaboklab(40.27% -0.049 0.0705)
OKLCHoklch(40.27% 0.086 124.8)
XYZxyz(4.9907, 6.8155, 1.7619)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5015 #271550
analogous
#504515 #3E5015 #215015
triadic
#3E5015 #153E50 #50153E
tetradic
#3E5015 #155045 #271550 #501521
square
#3E5015 #155045 #271550 #501521
split-complementary
#3E5015 #152150 #451550
monochromatic
#131806 #182008 #3E5015 #648022 #89B12E

Accessibility & contrast

On white

8.89
#3E5015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3E5015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5015
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5015#FFFFFF#000000##FFFFFF
##3E50151.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A0C
Deuteranopia (green-blind)
#524A1A
Tritanopia (blue-blind)
#414C44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e5015;
/* rgb */ color: rgb(62, 80, 21);
/* oklch */ color: oklch(40.3% 0.086 124.8);
Tailwind
colors: {
  custom: {
    50: '#758156',
    500: '#3e5015',
    950: '#000000',
  },
}
SCSS
$custom: #3e5015;
$custom-light: #758156;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5015",
  "rgb": {
    "r": 62,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 78.305,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40267,
    "c": 0.0858,
    "h": 124.8
  },
  "luminance": 0.06816
}

Semantic roles & 50–950 ramp

primary
#3E5015
secondary
#513988
accent
#46E276
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3E5015

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

Preview Lab → · Contrast checker → · Palette generator →

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