#3E5915#3E5915

#3E5915 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.7% C 0.099 H 128.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#3E5915
RGBrgb(62, 89, 21)
HSLhsl(84, 62%, 22%)
HSVhsv(84, 76%, 35%)
CMYKcmyk(30.3%, 0%, 76.4%, 65.1%)
CIE-LABlab(34.44, -21.78, 34.23)
CIE-LCHlch(34.44, 40.57, 122.47°)
OKLaboklab(42.75% -0.0621 0.077)
OKLCHoklch(42.75% 0.099 128.9)
XYZxyz(5.6943, 8.2229, 1.9965)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5915 #301559
analogous
#595215 #3E5915 #1C5915
triadic
#3E5915 #153E59 #59153E
tetradic
#3E5915 #155952 #301559 #59151C
square
#3E5915 #155952 #301559 #59151C
split-complementary
#3E5915 #151C59 #521559
monochromatic
#111906 #1C2709 #3E5915 #608B21 #83BC2C

Accessibility & contrast

On white

7.94
#3E5915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3E5915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5915
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5915#FFFFFF#000000##FFFFFF
##3E59151.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E520A
Deuteranopia (green-blind)
#5A501B
Tritanopia (blue-blind)
#40554C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3e5915;
/* rgb */ color: rgb(62, 89, 21);
/* oklch */ color: oklch(42.7% 0.099 128.9);
Tailwind
colors: {
  custom: {
    50: '#768857',
    500: '#3e5915',
    950: '#000000',
  },
}
SCSS
$custom: #3e5915;
$custom-light: #768857;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5915",
  "rgb": {
    "r": 62,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 83.824,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42748,
    "c": 0.0989,
    "h": 128.9
  },
  "luminance": 0.08223
}

Semantic roles & 50–950 ramp

primary
#3E5915
secondary
#5C3991
accent
#43E583
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3E5915

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

Preview Lab → · Contrast checker → · Palette generator →

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