#3E7D17#3E7D17

#3E7D17 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.7% C 0.146 H 136.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3E7D17
RGBrgb(62, 125, 23)
HSLhsl(97, 69%, 29%)
HSVhsv(97, 82%, 49%)
CMYKcmyk(50.4%, 0%, 81.6%, 51%)
CIE-LABlab(46.65, -38.20, 45.33)
CIE-LCHlch(46.65, 59.28, 130.12°)
OKLaboklab(52.74% -0.1063 0.1006)
OKLCHoklch(52.74% 0.146 136.6)
XYZxyz(9.4746, 15.7526, 3.3517)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7D17 #56177D
analogous
#717D17 #3E7D17 #177D23
triadic
#3E7D17 #173E7D #7D173E
tetradic
#3E7D17 #17717D #56177D #7D2317
square
#3E7D17 #17717D #56177D #7D2317
split-complementary
#3E7D17 #23177D #7D1771
monochromatic
#0D1A05 #24490D #3E7D17 #58B121 #74DA35

Accessibility & contrast

On white

5.06
#3E7D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#3E7D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7D17
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7D17#FFFFFF#000000##FFFFFF
##3E7D171.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#796D23
Tritanopia (blue-blind)
#3B786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3e7d17;
/* rgb */ color: rgb(62, 125, 23);
/* oklch */ color: oklch(52.7% 0.146 136.6);
Tailwind
colors: {
  custom: {
    50: '#7aa35d',
    500: '#3e7d17',
    950: '#000000',
  },
}
SCSS
$custom: #3e7d17;
$custom-light: #7aa35d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7d17",
  "rgb": {
    "r": 62,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 97.059,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52738,
    "c": 0.14634,
    "h": 136.6
  },
  "luminance": 0.15753
}

Semantic roles & 50–950 ramp

primary
#3E7D17
secondary
#863EB2
accent
#3CECA9
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E7D17

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

Preview Lab → · Contrast checker → · Palette generator →

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