#3E7E17#3E7E17

#3E7E17 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.0% C 0.148 H 136.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#3E7E17
RGBrgb(62, 126, 23)
HSLhsl(97, 69%, 29%)
HSVhsv(97, 82%, 49%)
CMYKcmyk(50.8%, 0%, 81.7%, 50.6%)
CIE-LABlab(46.98, -38.61, 45.65)
CIE-LCHlch(46.98, 59.79, 130.23°)
OKLaboklab(53.01% -0.1074 0.1012)
OKLCHoklch(53.01% 0.148 136.7)
XYZxyz(9.6018, 16.0070, 3.3942)
Luminance0.1601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7E17 #57177E
analogous
#727E17 #3E7E17 #177E24
triadic
#3E7E17 #173E7E #7E173E
tetradic
#3E7E17 #17727E #57177E #7E2417
square
#3E7E17 #17727E #57177E #7E2417
split-complementary
#3E7E17 #24177E #7E1772
monochromatic
#0D1A05 #254A0E #3E7E17 #57B220 #74DA35

Accessibility & contrast

On white

5.00
#3E7E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#3E7E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7E17
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7E17#FFFFFF#000000##FFFFFF
##3E7E171.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#3A796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3e7e17;
/* rgb */ color: rgb(62, 126, 23);
/* oklch */ color: oklch(53.0% 0.148 136.7);
Tailwind
colors: {
  custom: {
    50: '#7aa45e',
    500: '#3e7e17',
    950: '#000000',
  },
}
SCSS
$custom: #3e7e17;
$custom-light: #7aa45e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7e17",
  "rgb": {
    "r": 62,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 97.282,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53014,
    "c": 0.1476,
    "h": 136.7
  },
  "luminance": 0.16008
}

Semantic roles & 50–950 ramp

primary
#3E7E17
secondary
#873EB3
accent
#3CECA9
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E7E17

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

Preview Lab → · Contrast checker → · Palette generator →

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