#3E7317#3E7317

#3E7317 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 50.0% C 0.133 H 135.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#3E7317
RGBrgb(62, 115, 23)
HSLhsl(95, 67%, 27%)
HSVhsv(95, 80%, 45%)
CMYKcmyk(46.1%, 0%, 80%, 54.9%)
CIE-LABlab(43.28, -33.95, 42.13)
CIE-LCHlch(43.28, 54.11, 128.86°)
OKLaboklab(49.97% -0.0949 0.0939)
OKLCHoklch(49.97% 0.133 135.3)
XYZxyz(8.2718, 13.3470, 2.9508)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7317 #4C1773
analogous
#6C7317 #3E7317 #17731E
triadic
#3E7317 #173E73 #73173E
tetradic
#3E7317 #176C73 #4C1773 #731E17
square
#3E7317 #176C73 #4C1773 #731E17
split-complementary
#3E7317 #1E1773 #73176C
monochromatic
#0E1A05 #23400D #3E7317 #59A621 #76D52F

Accessibility & contrast

On white

5.72
#3E7317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3E7317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7317
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7317#FFFFFF#000000##FFFFFF
##3E73171.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776902
Deuteranopia (green-blind)
#706521
Tritanopia (blue-blind)
#3C6E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3e7317;
/* rgb */ color: rgb(62, 115, 23);
/* oklch */ color: oklch(50.0% 0.133 135.3);
Tailwind
colors: {
  custom: {
    50: '#799c5c',
    500: '#3e7317',
    950: '#000000',
  },
}
SCSS
$custom: #3e7317;
$custom-light: #799c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7317",
  "rgb": {
    "r": 62,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 94.565,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49972,
    "c": 0.13345,
    "h": 135.3
  },
  "luminance": 0.13347
}

Semantic roles & 50–950 ramp

primary
#3E7317
secondary
#7B3DA9
accent
#3EEAA1
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3E7317

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

Preview Lab → · Contrast checker → · Palette generator →

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