#5A9F25#5A9F25

#5A9F25 is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.3% C 0.167 H 134.9°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5A9F25
RGBrgb(90, 159, 37)
HSLhsl(94, 62%, 38%)
HSVhsv(94, 77%, 62%)
CMYKcmyk(43.4%, 0%, 76.7%, 37.6%)
CIE-LABlab(59.07, -42.15, 52.95)
CIE-LCHlch(59.07, 67.68, 128.52°)
OKLaboklab(63.31% -0.1179 0.1182)
OKLCHoklch(63.31% 0.167 134.9)
XYZxyz(16.9481, 27.1025, 6.0882)
Luminance0.2710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9F25 #6A259F
analogous
#979F25 #5A9F25 #259F2D
triadic
#5A9F25 #255A9F #9F255A
tetradic
#5A9F25 #25979F #6A259F #9F2D25
square
#5A9F25 #25979F #6A259F #9F2D25
split-complementary
#5A9F25 #2D259F #9F2597
monochromatic
#223C0E #3E6D19 #5A9F25 #76CF32 #97DB64

Accessibility & contrast

On white

3.27
#5A9F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#5A9F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9F25
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9F25#FFFFFF#000000##000000
##5A9F251.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59208
Deuteranopia (green-blind)
#9C8C32
Tritanopia (blue-blind)
#589988
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a9f25;
/* rgb */ color: rgb(90, 159, 37);
/* oklch */ color: oklch(63.3% 0.167 134.9);
Tailwind
colors: {
  custom: {
    50: '#8fbc69',
    500: '#5a9f25',
    950: '#000000',
  },
}
SCSS
$custom: #5a9f25;
$custom-light: #8fbc69;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9f25",
  "rgb": {
    "r": 90,
    "g": 159,
    "b": 37
  },
  "hsl": {
    "h": 93.934,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63307,
    "c": 0.16694,
    "h": 134.9
  },
  "luminance": 0.27104
}

Semantic roles & 50–950 ramp

primary
#5A9F25
secondary
#965FC0
accent
#42E59F
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5A9F25

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

Preview Lab → · Contrast checker → · Palette generator →

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