#5A9237#5A9237

#5A9237 is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 60.1% C 0.137 H 135.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5A9237
RGBrgb(90, 146, 55)
HSLhsl(97, 45%, 39%)
HSVhsv(97, 62%, 57%)
CMYKcmyk(38.4%, 0%, 62.3%, 42.7%)
CIE-LABlab(55.08, -35.07, 41.47)
CIE-LCHlch(55.08, 54.31, 130.22°)
OKLaboklab(60.09% -0.0973 0.0965)
OKLCHoklch(60.09% 0.137 135.3)
XYZxyz(15.1846, 23.0065, 7.2543)
Luminance0.2301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9237 #6F3792
analogous
#889237 #5A9237 #379241
triadic
#5A9237 #375A92 #92375A
tetradic
#5A9237 #378892 #6F3792 #924137
square
#5A9237 #378892 #6F3792 #924137
split-complementary
#5A9237 #413792 #923788
monochromatic
#233916 #3F6626 #5A9237 #76BB4B #98CC77

Accessibility & contrast

On white

3.75
#5A9237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#5A9237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9237
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9237#FFFFFF#000000##000000
##5A92371.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97872D
Deuteranopia (green-blind)
#8F823E
Tritanopia (blue-blind)
#598D7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a9237;
/* rgb */ color: rgb(90, 146, 55);
/* oklch */ color: oklch(60.1% 0.137 135.3);
Tailwind
colors: {
  custom: {
    50: '#8db271',
    500: '#5a9237',
    950: '#000000',
  },
}
SCSS
$custom: #5a9237;
$custom-light: #8db271;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9237",
  "rgb": {
    "r": 90,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 96.923,
    "s": 45.274,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60087,
    "c": 0.13704,
    "h": 135.3
  },
  "luminance": 0.23007
}

Semantic roles & 50–950 ramp

primary
#5A9237
secondary
#9A70B5
accent
#53D5A3
background
#F8FBF7
surface
#F0F6ED
border
#CBD0C8
text
#0C1108
muted
#7D807B

Preview Lab

Preview with #5A9237

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

Preview Lab → · Contrast checker → · Palette generator →

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