#5E8928#5E8928

#5E8928 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.9% C 0.134 H 130.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5E8928
RGBrgb(94, 137, 40)
HSLhsl(87, 55%, 35%)
HSVhsv(87, 71%, 54%)
CMYKcmyk(31.4%, 0%, 70.8%, 46.3%)
CIE-LABlab(52.31, -30.74, 45.15)
CIE-LCHlch(52.31, 54.62, 124.25°)
OKLaboklab(57.85% -0.087 0.1022)
OKLCHoklch(57.85% 0.134 130.4)
XYZxyz(13.9447, 20.4238, 5.2145)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8928 #532889
analogous
#898428 #5E8928 #2E8928
triadic
#5E8928 #285E89 #89285E
tetradic
#5E8928 #288984 #532889 #89282E
square
#5E8928 #288984 #532889 #89282E
split-complementary
#5E8928 #282E89 #842889
monochromatic
#1D2A0C #3D5A1A #5E8928 #7FB836 #9CCF5C

Accessibility & contrast

On white

4.13
#5E8928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5E8928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8928
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8928#FFFFFF#000000##000000
##5E89281.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F19
Deuteranopia (green-blind)
#897C30
Tritanopia (blue-blind)
#608376
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e8928;
/* rgb */ color: rgb(94, 137, 40);
/* oklch */ color: oklch(57.9% 0.134 130.4);
Tailwind
colors: {
  custom: {
    50: '#8fab68',
    500: '#5e8928',
    950: '#000000',
  },
}
SCSS
$custom: #5e8928;
$custom-light: #8fab68;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8928",
  "rgb": {
    "r": 94,
    "g": 137,
    "b": 40
  },
  "hsl": {
    "h": 86.598,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5785,
    "c": 0.13425,
    "h": 130.4
  },
  "luminance": 0.20424
}

Semantic roles & 50–950 ramp

primary
#5E8928
secondary
#8158B5
accent
#4ADE8B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8928

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

Preview Lab → · Contrast checker → · Palette generator →

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