#5A9625#5A9625

#5A9625 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 61.0% C 0.156 H 133.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5A9625
RGBrgb(90, 150, 37)
HSLhsl(92, 60%, 37%)
HSVhsv(92, 75%, 59%)
CMYKcmyk(40%, 0%, 75.3%, 41.2%)
CIE-LABlab(56.21, -38.32, 50.16)
CIE-LCHlch(56.21, 63.12, 127.38°)
OKLaboklab(60.96% -0.1076 0.1124)
OKLCHoklch(60.96% 0.156 133.8)
XYZxyz(15.4565, 24.1192, 5.5910)
Luminance0.2412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9625 #612596
analogous
#939625 #5A9625 #259628
triadic
#5A9625 #255A96 #96255A
tetradic
#5A9625 #259396 #612596 #962825
square
#5A9625 #259396 #612596 #962825
split-complementary
#5A9625 #282596 #962593
monochromatic
#1F340D #3D6519 #5A9625 #77C731 #97D75E

Accessibility & contrast

On white

3.61
#5A9625 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#5A9625 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9625
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9625#FFFFFF#000000##000000
##5A96251.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A0E
Deuteranopia (green-blind)
#948530
Tritanopia (blue-blind)
#5A9080
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5a9625;
/* rgb */ color: rgb(90, 150, 37);
/* oklch */ color: oklch(61.0% 0.156 133.8);
Tailwind
colors: {
  custom: {
    50: '#8eb568',
    500: '#5a9625',
    950: '#000000',
  },
}
SCSS
$custom: #5a9625;
$custom-light: #8eb568;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9625",
  "rgb": {
    "r": 90,
    "g": 150,
    "b": 37
  },
  "hsl": {
    "h": 91.858,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60963,
    "c": 0.15554,
    "h": 133.8
  },
  "luminance": 0.2412
}

Semantic roles & 50–950 ramp

primary
#5A9625
secondary
#8E5BBC
accent
#44E499
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A9625

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

Preview Lab → · Contrast checker → · Palette generator →

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