#5B9225#5B9225

#5B9225 is a mid, vivid yellow-green. Relative luminance 0.229; OKLCH L 60.0% C 0.150 H 132.9°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5B9225
RGBrgb(91, 146, 37)
HSLhsl(90, 60%, 36%)
HSVhsv(90, 75%, 57%)
CMYKcmyk(37.7%, 0%, 74.7%, 42.7%)
CIE-LABlab(54.98, -36.21, 48.97)
CIE-LCHlch(54.98, 60.90, 126.48°)
OKLaboklab(59.98% -0.1019 0.1098)
OKLCHoklch(59.98% 0.15 132.9)
XYZxyz(14.9270, 22.9148, 5.3864)
Luminance0.2291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9225 #5C2592
analogous
#919225 #5B9225 #259225
triadic
#5B9225 #255B92 #92255B
tetradic
#5B9225 #259192 #5C2592 #922525
square
#5B9225 #259192 #5C2592 #922525
split-complementary
#5B9225 #252592 #922591
monochromatic
#1E300C #3D6119 #5B9225 #79C331 #98D65C

Accessibility & contrast

On white

3.76
#5B9225 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#5B9225 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9225
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9225#FFFFFF#000000##000000
##5B92251.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988610
Deuteranopia (green-blind)
#918230
Tritanopia (blue-blind)
#5C8C7D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5b9225;
/* rgb */ color: rgb(91, 146, 37);
/* oklch */ color: oklch(60.0% 0.150 132.9);
Tailwind
colors: {
  custom: {
    50: '#8eb267',
    500: '#5b9225',
    950: '#000000',
  },
}
SCSS
$custom: #5b9225;
$custom-light: #8eb267;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9225",
  "rgb": {
    "r": 91,
    "g": 146,
    "b": 37
  },
  "hsl": {
    "h": 90.275,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59977,
    "c": 0.14983,
    "h": 132.9
  },
  "luminance": 0.22915
}

Semantic roles & 50–950 ramp

primary
#5B9225
secondary
#8A58BA
accent
#45E395
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9225

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

Preview Lab → · Contrast checker → · Palette generator →

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