#5A9925#5A9925

#5A9925 is a mid, vivid yellow-green. Relative luminance 0.251; OKLCH L 61.7% C 0.159 H 134.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5A9925
RGBrgb(90, 153, 37)
HSLhsl(93, 61%, 37%)
HSVhsv(93, 76%, 60%)
CMYKcmyk(41.2%, 0%, 75.8%, 40%)
CIE-LABlab(57.16, -39.61, 51.09)
CIE-LCHlch(57.16, 64.65, 127.79°)
OKLaboklab(61.74% -0.1111 0.1143)
OKLCHoklch(61.74% 0.159 134.2)
XYZxyz(15.9413, 25.0889, 5.7526)
Luminance0.2509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9925 #642599
analogous
#949925 #5A9925 #25992A
triadic
#5A9925 #255A99 #99255A
tetradic
#5A9925 #259499 #642599 #992A25
square
#5A9925 #259499 #642599 #992A25
split-complementary
#5A9925 #2A2599 #992594
monochromatic
#20360D #3D6819 #5A9925 #77CA31 #97D960

Accessibility & contrast

On white

3.49
#5A9925 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#5A9925 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9925
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9925#FFFFFF#000000##000000
##5A99251.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C0C
Deuteranopia (green-blind)
#978731
Tritanopia (blue-blind)
#599383
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a9925;
/* rgb */ color: rgb(90, 153, 37);
/* oklch */ color: oklch(61.7% 0.159 134.2);
Tailwind
colors: {
  custom: {
    50: '#8eb768',
    500: '#5a9925',
    950: '#000000',
  },
}
SCSS
$custom: #5a9925;
$custom-light: #8eb768;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9925",
  "rgb": {
    "r": 90,
    "g": 153,
    "b": 37
  },
  "hsl": {
    "h": 92.586,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61744,
    "c": 0.15938,
    "h": 134.2
  },
  "luminance": 0.2509
}

Semantic roles & 50–950 ramp

primary
#5A9925
secondary
#915CBE
accent
#44E49B
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5A9925

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

Preview Lab → · Contrast checker → · Palette generator →

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