#5D9825#5D9825

#5D9825 is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.6% C 0.157 H 133.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5D9825
RGBrgb(93, 152, 37)
HSLhsl(91, 61%, 37%)
HSVhsv(91, 76%, 60%)
CMYKcmyk(38.8%, 0%, 75.7%, 40.4%)
CIE-LABlab(56.99, -38.12, 50.98)
CIE-LCHlch(56.99, 63.65, 126.78°)
OKLaboklab(61.65% -0.1072 0.114)
OKLCHoklch(61.65% 0.157 133.2)
XYZxyz(16.0761, 24.9165, 5.7122)
Luminance0.2492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9825 #602598
analogous
#979825 #5D9825 #259827
triadic
#5D9825 #255D98 #98255D
tetradic
#5D9825 #259798 #602598 #982725
square
#5D9825 #259798 #602598 #982725
split-complementary
#5D9825 #272598 #982597
monochromatic
#21360D #3F6719 #5D9825 #7BC931 #9AD85F

Accessibility & contrast

On white

3.51
#5D9825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#5D9825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9825
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9825#FFFFFF#000000##000000
##5D98251.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d9825;
/* rgb */ color: rgb(93, 152, 37);
/* oklch */ color: oklch(61.6% 0.157 133.2);
Tailwind
colors: {
  custom: {
    50: '#90b768',
    500: '#5d9825',
    950: '#000000',
  },
}
SCSS
$custom: #5d9825;
$custom-light: #90b768;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9825",
  "rgb": {
    "r": 93,
    "g": 152,
    "b": 37
  },
  "hsl": {
    "h": 90.783,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61647,
    "c": 0.1565,
    "h": 133.2
  },
  "luminance": 0.24917
}

Semantic roles & 50–950 ramp

primary
#5D9825
secondary
#8E5CBD
accent
#44E496
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5D9825

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

Preview Lab → · Contrast checker → · Palette generator →

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