#3E5115#3E5115

#3E5115 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.5% C 0.087 H 125.3°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#3E5115
RGBrgb(62, 81, 21)
HSLhsl(79, 59%, 20%)
HSVhsv(79, 74%, 32%)
CMYKcmyk(23.5%, 0%, 74.1%, 68.2%)
CIE-LABlab(31.72, -17.55, 31.46)
CIE-LCHlch(31.72, 36.03, 119.16°)
OKLaboklab(40.54% -0.0505 0.0712)
OKLCHoklch(40.54% 0.087 125.3)
XYZxyz(5.0644, 6.9631, 1.7865)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5115 #281551
analogous
#514615 #3E5115 #205115
triadic
#3E5115 #153E51 #51153E
tetradic
#3E5115 #155146 #281551 #511520
square
#3E5115 #155146 #281551 #511520
split-complementary
#3E5115 #152051 #461551
monochromatic
#131806 #192008 #3E5115 #638222 #88B22E

Accessibility & contrast

On white

8.78
#3E5115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3E5115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5115
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5115#FFFFFF#000000##FFFFFF
##3E51151.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0C
Deuteranopia (green-blind)
#534A1A
Tritanopia (blue-blind)
#414D45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e5115;
/* rgb */ color: rgb(62, 81, 21);
/* oklch */ color: oklch(40.5% 0.087 125.3);
Tailwind
colors: {
  custom: {
    50: '#758256',
    500: '#3e5115',
    950: '#000000',
  },
}
SCSS
$custom: #3e5115;
$custom-light: #758256;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5115",
  "rgb": {
    "r": 62,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 79,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.40542,
    "c": 0.08726,
    "h": 125.3
  },
  "luminance": 0.06963
}

Semantic roles & 50–950 ramp

primary
#3E5115
secondary
#523989
accent
#46E277
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3E5115

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

Preview Lab → · Contrast checker → · Palette generator →

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