#3E7A17#3E7A17

#3E7A17 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 51.9% C 0.143 H 136.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#3E7A17
RGBrgb(62, 122, 23)
HSLhsl(96, 68%, 28%)
HSVhsv(96, 81%, 48%)
CMYKcmyk(49.2%, 0%, 81.1%, 52.2%)
CIE-LABlab(45.64, -36.95, 44.38)
CIE-LCHlch(45.64, 57.75, 129.78°)
OKLaboklab(51.91% -0.1029 0.0986)
OKLCHoklch(51.91% 0.143 136.2)
XYZxyz(9.1005, 15.0045, 3.2271)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7A17 #53177A
analogous
#6F7A17 #3E7A17 #177A22
triadic
#3E7A17 #173E7A #7A173E
tetradic
#3E7A17 #176F7A #53177A #7A2217
square
#3E7A17 #176F7A #53177A #7A2217
split-complementary
#3E7A17 #22177A #7A176F
monochromatic
#0D1A05 #24470D #3E7A17 #58AD21 #74D933

Accessibility & contrast

On white

5.25
#3E7A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#3E7A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7A17
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7A17#FFFFFF#000000##FFFFFF
##3E7A171.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#776A22
Tritanopia (blue-blind)
#3B7568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3e7a17;
/* rgb */ color: rgb(62, 122, 23);
/* oklch */ color: oklch(51.9% 0.143 136.2);
Tailwind
colors: {
  custom: {
    50: '#7aa15d',
    500: '#3e7a17',
    950: '#000000',
  },
}
SCSS
$custom: #3e7a17;
$custom-light: #7aa15d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7a17",
  "rgb": {
    "r": 62,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 96.364,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5191,
    "c": 0.14253,
    "h": 136.2
  },
  "luminance": 0.15005
}

Semantic roles & 50–950 ramp

primary
#3E7A17
secondary
#823EAF
accent
#3DEBA6
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #3E7A17

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

Preview Lab → · Contrast checker → · Palette generator →

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