#5E7F17#5E7F17

#5E7F17 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.1% C 0.132 H 126.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5E7F17
RGBrgb(94, 127, 23)
HSLhsl(79, 69%, 29%)
HSVhsv(79, 82%, 50%)
CMYKcmyk(26%, 0%, 81.9%, 50.2%)
CIE-LABlab(49.03, -26.99, 48.17)
CIE-LCHlch(49.03, 55.22, 119.27°)
OKLaboklab(55.15% -0.0782 0.1058)
OKLCHoklch(55.15% 0.132 126.5)
XYZxyz(12.3602, 17.6201, 3.5603)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7F17 #38177F
analogous
#7F6C17 #5E7F17 #2A7F17
triadic
#5E7F17 #175E7F #7F175E
tetradic
#5E7F17 #177F6C #38177F #7F172A
square
#5E7F17 #177F6C #38177F #7F172A
split-complementary
#5E7F17 #172A7F #6C177F
monochromatic
#131A05 #384B0E #5E7F17 #84B320 #A6DB36

Accessibility & contrast

On white

4.64
#5E7F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#5E7F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7F17
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7F17#FFFFFF#000000##FFFFFF
##5E7F171.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#827422
Tritanopia (blue-blind)
#62796C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5e7f17;
/* rgb */ color: rgb(94, 127, 23);
/* oklch */ color: oklch(55.1% 0.132 126.5);
Tailwind
colors: {
  custom: {
    50: '#8fa45e',
    500: '#5e7f17',
    950: '#000000',
  },
}
SCSS
$custom: #5e7f17;
$custom-light: #8fa45e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7f17",
  "rgb": {
    "r": 94,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 79.038,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5515,
    "c": 0.13155,
    "h": 126.5
  },
  "luminance": 0.1762
}

Semantic roles & 50–950 ramp

primary
#5E7F17
secondary
#633EB4
accent
#3CEC74
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E7F17

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

Preview Lab → · Contrast checker → · Palette generator →

#5E7F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva