#5E7E17#5E7E17

#5E7E17 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.9% C 0.130 H 126.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5E7E17
RGBrgb(94, 126, 23)
HSLhsl(79, 69%, 29%)
HSVhsv(79, 82%, 49%)
CMYKcmyk(25.4%, 0%, 81.7%, 50.6%)
CIE-LABlab(48.71, -26.50, 47.88)
CIE-LCHlch(48.71, 54.73, 118.97°)
OKLaboklab(54.89% -0.0768 0.1052)
OKLCHoklch(54.89% 0.13 126.2)
XYZxyz(12.2317, 17.3631, 3.5174)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7E17 #37177E
analogous
#7E6B17 #5E7E17 #2A7E17
triadic
#5E7E17 #175E7E #7E175E
tetradic
#5E7E17 #177E6B #37177E #7E172A
square
#5E7E17 #177E6B #37177E #7E172A
split-complementary
#5E7E17 #172A7E #6B177E
monochromatic
#131A05 #374A0E #5E7E17 #85B220 #A7DA35

Accessibility & contrast

On white

4.70
#5E7E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5E7E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7E17
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7E17#FFFFFF#000000##FFFFFF
##5E7E171.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#817322
Tritanopia (blue-blind)
#62786B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5e7e17;
/* rgb */ color: rgb(94, 126, 23);
/* oklch */ color: oklch(54.9% 0.130 126.2);
Tailwind
colors: {
  custom: {
    50: '#8fa35e',
    500: '#5e7e17',
    950: '#000000',
  },
}
SCSS
$custom: #5e7e17;
$custom-light: #8fa35e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7e17",
  "rgb": {
    "r": 94,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 78.641,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54892,
    "c": 0.13027,
    "h": 126.2
  },
  "luminance": 0.17363
}

Semantic roles & 50–950 ramp

primary
#5E7E17
secondary
#623EB3
accent
#3CEC73
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E7E17

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

Preview Lab → · Contrast checker → · Palette generator →

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