#5A9725#5A9725

#5A9725 is a mid, vivid yellow-green. Relative luminance 0.244; OKLCH L 61.2% C 0.157 H 133.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5A9725
RGBrgb(90, 151, 37)
HSLhsl(92, 61%, 37%)
HSVhsv(92, 75%, 59%)
CMYKcmyk(40.4%, 0%, 75.5%, 40.8%)
CIE-LABlab(56.53, -38.75, 50.47)
CIE-LCHlch(56.53, 63.63, 127.52°)
OKLaboklab(61.22% -0.1087 0.113)
OKLCHoklch(61.22% 0.157 133.9)
XYZxyz(15.6167, 24.4397, 5.6444)
Luminance0.2444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9725 #622597
analogous
#939725 #5A9725 #259729
triadic
#5A9725 #255A97 #97255A
tetradic
#5A9725 #259397 #622597 #972925
square
#5A9725 #259397 #622597 #972925
split-complementary
#5A9725 #292597 #972593
monochromatic
#1F350D #3D6619 #5A9725 #77C831 #97D85F

Accessibility & contrast

On white

3.57
#5A9725 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#5A9725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9725
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9725#FFFFFF#000000##000000
##5A97251.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B0D
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#5A9181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a9725;
/* rgb */ color: rgb(90, 151, 37);
/* oklch */ color: oklch(61.2% 0.157 133.9);
Tailwind
colors: {
  custom: {
    50: '#8eb668',
    500: '#5a9725',
    950: '#000000',
  },
}
SCSS
$custom: #5a9725;
$custom-light: #8eb668;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9725",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 37
  },
  "hsl": {
    "h": 92.105,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61223,
    "c": 0.15682,
    "h": 133.9
  },
  "luminance": 0.2444
}

Semantic roles & 50–950 ramp

primary
#5A9725
secondary
#8F5BBD
accent
#44E49A
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5A9725

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

Preview Lab → · Contrast checker → · Palette generator →

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