#5E9825#5E9825

#5E9825 is a mid, vivid yellow-green. Relative luminance 0.250; OKLCH L 61.7% C 0.156 H 133.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5E9825
RGBrgb(94, 152, 37)
HSLhsl(90, 61%, 37%)
HSVhsv(90, 76%, 60%)
CMYKcmyk(38.2%, 0%, 75.7%, 40.4%)
CIE-LABlab(57.05, -37.75, 51.05)
CIE-LCHlch(57.05, 63.49, 126.48°)
OKLaboklab(61.7% -0.1063 0.1141)
OKLCHoklch(61.7% 0.156 133)
XYZxyz(16.1780, 24.9690, 5.7170)
Luminance0.2497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9825 #5F2598
analogous
#989825 #5E9825 #259826
triadic
#5E9825 #255E98 #98255E
tetradic
#5E9825 #259898 #5F2598 #982625
square
#5E9825 #259898 #5F2598 #982625
split-complementary
#5E9825 #262598 #982598
monochromatic
#21360D #406719 #5E9825 #7CC931 #9BD85F

Accessibility & contrast

On white

3.50
#5E9825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#5E9825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9825
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9825#FFFFFF#000000##000000
##5E98251.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C0D
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#5E9282
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5e9825;
/* rgb */ color: rgb(94, 152, 37);
/* oklch */ color: oklch(61.7% 0.156 133.0);
Tailwind
colors: {
  custom: {
    50: '#91b768',
    500: '#5e9825',
    950: '#000000',
  },
}
SCSS
$custom: #5e9825;
$custom-light: #91b768;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9825",
  "rgb": {
    "r": 94,
    "g": 152,
    "b": 37
  },
  "hsl": {
    "h": 90.261,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61703,
    "c": 0.15597,
    "h": 133
  },
  "luminance": 0.2497
}

Semantic roles & 50–950 ramp

primary
#5E9825
secondary
#8D5CBD
accent
#44E495
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5E9825

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

Preview Lab → · Contrast checker → · Palette generator →

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