#5E8925#5E8925

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

Color values

HEX#5E8925
RGBrgb(94, 137, 37)
HSLhsl(86, 57%, 34%)
HSVhsv(86, 73%, 54%)
CMYKcmyk(31.4%, 0%, 73%, 46.3%)
CIE-LABlab(52.29, -30.96, 46.33)
CIE-LCHlch(52.29, 55.72, 123.75°)
OKLaboklab(57.83% -0.0878 0.1043)
OKLCHoklch(57.83% 0.136 130.1)
XYZxyz(13.8956, 20.4041, 4.9562)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8925 #502589
analogous
#898225 #5E8925 #2C8925
triadic
#5E8925 #255E89 #89255E
tetradic
#5E8925 #258982 #502589 #89252C
square
#5E8925 #258982 #502589 #89252C
split-complementary
#5E8925 #252C89 #822589
monochromatic
#1C290B #3D5918 #5E8925 #7FB932 #9DD257

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E8925#FFFFFF#000000##000000
##5E89251.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)
#8F7F14
Deuteranopia (green-blind)
#8A7C2E
Tritanopia (blue-blind)
#608375
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e8925;
/* rgb */ color: rgb(94, 137, 37);
/* oklch */ color: oklch(57.8% 0.136 130.1);
Tailwind
colors: {
  custom: {
    50: '#8fab66',
    500: '#5e8925',
    950: '#000000',
  },
}
SCSS
$custom: #5e8925;
$custom-light: #8fab66;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8925",
  "rgb": {
    "r": 94,
    "g": 137,
    "b": 37
  },
  "hsl": {
    "h": 85.8,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57825,
    "c": 0.13633,
    "h": 130.1
  },
  "luminance": 0.20405
}

Semantic roles & 50–950 ramp

primary
#5E8925
secondary
#7E54B6
accent
#47E189
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8925

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

Preview Lab → · Contrast checker → · Palette generator →

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