#3E5A15#3E5A15

#3E5A15 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.0% C 0.100 H 129.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3E5A15
RGBrgb(62, 90, 21)
HSLhsl(84, 62%, 22%)
HSVhsv(84, 77%, 35%)
CMYKcmyk(31.1%, 0%, 76.7%, 64.7%)
CIE-LABlab(34.78, -22.29, 34.57)
CIE-LCHlch(34.78, 41.14, 122.81°)
OKLaboklab(43.02% -0.0635 0.0777)
OKLCHoklch(43.02% 0.1 129.2)
XYZxyz(5.7781, 8.3904, 2.0244)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5A15 #31155A
analogous
#5A5415 #3E5A15 #1C5A15
triadic
#3E5A15 #153E5A #5A153E
tetradic
#3E5A15 #155A54 #31155A #5A151C
square
#3E5A15 #155A54 #31155A #5A151C
split-complementary
#3E5A15 #151C5A #54155A
monochromatic
#111906 #1C2809 #3E5A15 #608C21 #82BD2C

Accessibility & contrast

On white

7.84
#3E5A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3E5A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5A15
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5A15#FFFFFF#000000##FFFFFF
##3E5A151.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5309
Deuteranopia (green-blind)
#5B511B
Tritanopia (blue-blind)
#40564C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3e5a15;
/* rgb */ color: rgb(62, 90, 21);
/* oklch */ color: oklch(43.0% 0.100 129.2);
Tailwind
colors: {
  custom: {
    50: '#768957',
    500: '#3e5a15',
    950: '#000000',
  },
}
SCSS
$custom: #3e5a15;
$custom-light: #768957;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5a15",
  "rgb": {
    "r": 62,
    "g": 90,
    "b": 21
  },
  "hsl": {
    "h": 84.348,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43024,
    "c": 0.10033,
    "h": 129.2
  },
  "luminance": 0.08391
}

Semantic roles & 50–950 ramp

primary
#3E5A15
secondary
#5D3992
accent
#43E585
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3E5A15

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

Preview Lab → · Contrast checker → · Palette generator →

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