#5E8117#5E8117

#5E8117 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.7% C 0.134 H 127.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5E8117
RGBrgb(94, 129, 23)
HSLhsl(80, 70%, 30%)
HSVhsv(80, 82%, 51%)
CMYKcmyk(27.1%, 0%, 82.2%, 49.4%)
CIE-LABlab(49.67, -27.96, 48.75)
CIE-LCHlch(49.67, 56.20, 119.84°)
OKLaboklab(55.67% -0.0808 0.107)
OKLCHoklch(55.67% 0.134 127.1)
XYZxyz(12.6211, 18.1418, 3.6472)
Luminance0.1814 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8117 #3A1781
analogous
#816F17 #5E8117 #298117
triadic
#5E8117 #175E81 #81175E
tetradic
#5E8117 #17816F #3A1781 #811729
square
#5E8117 #17816F #3A1781 #811729
split-complementary
#5E8117 #172981 #6F1781
monochromatic
#131A05 #384D0E #5E8117 #84B520 #A5DB37

Accessibility & contrast

On white

4.54
#5E8117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#5E8117 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8117
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8117#FFFFFF#000000##000000
##5E81171.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#627B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5e8117;
/* rgb */ color: rgb(94, 129, 23);
/* oklch */ color: oklch(55.7% 0.134 127.1);
Tailwind
colors: {
  custom: {
    50: '#8fa55f',
    500: '#5e8117',
    950: '#000000',
  },
}
SCSS
$custom: #5e8117;
$custom-light: #8fa55f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8117",
  "rgb": {
    "r": 94,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 79.811,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55666,
    "c": 0.13411,
    "h": 127.1
  },
  "luminance": 0.18142
}

Semantic roles & 50–950 ramp

primary
#5E8117
secondary
#663EB5
accent
#3BED76
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E8117

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

Preview Lab → · Contrast checker → · Palette generator →

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