#3E8017#3E8017

#3E8017 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.6% C 0.150 H 136.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3E8017
RGBrgb(62, 128, 23)
HSLhsl(98, 70%, 30%)
HSVhsv(98, 82%, 50%)
CMYKcmyk(51.6%, 0%, 82%, 49.8%)
CIE-LABlab(47.65, -39.43, 46.28)
CIE-LCHlch(47.65, 60.80, 130.44°)
OKLaboklab(53.57% -0.1096 0.1025)
OKLCHoklch(53.57% 0.15 136.9)
XYZxyz(9.8601, 16.5236, 3.4803)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8017 #591780
analogous
#738017 #3E8017 #178024
triadic
#3E8017 #173E80 #80173E
tetradic
#3E8017 #177380 #591780 #802417
square
#3E8017 #177380 #591780 #802417
split-complementary
#3E8017 #241780 #801773
monochromatic
#0D1A05 #254C0E #3E8017 #57B420 #74DB36

Accessibility & contrast

On white

4.88
#3E8017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#3E8017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E8017
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8017#FFFFFF#000000##FFFFFF
##3E80171.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#3A7B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3e8017;
/* rgb */ color: rgb(62, 128, 23);
/* oklch */ color: oklch(53.6% 0.150 136.9);
Tailwind
colors: {
  custom: {
    50: '#7ba55e',
    500: '#3e8017',
    950: '#000000',
  },
}
SCSS
$custom: #3e8017;
$custom-light: #7ba55e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8017",
  "rgb": {
    "r": 62,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 97.714,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53566,
    "c": 0.1501,
    "h": 136.9
  },
  "luminance": 0.16524
}

Semantic roles & 50–950 ramp

primary
#3E8017
secondary
#893EB4
accent
#3BECAB
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E8017

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

Preview Lab → · Contrast checker → · Palette generator →

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