#5A9E2B#5A9E2B

#5A9E2B is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.1% C 0.162 H 135.3°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5A9E2B
RGBrgb(90, 158, 43)
HSLhsl(95, 57%, 39%)
HSVhsv(95, 73%, 62%)
CMYKcmyk(43%, 0%, 72.8%, 38%)
CIE-LABlab(58.79, -41.33, 50.51)
CIE-LCHlch(58.79, 65.26, 129.29°)
OKLaboklab(63.09% -0.1153 0.114)
OKLCHoklch(63.09% 0.162 135.3)
XYZxyz(16.8790, 26.8008, 6.5687)
Luminance0.2680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9E2B #6F2B9E
analogous
#949E2B #5A9E2B #2B9E35
triadic
#5A9E2B #2B5A9E #9E2B5A
tetradic
#5A9E2B #2B949E #6F2B9E #9E352B
square
#5A9E2B #2B949E #6F2B9E #9E352B
split-complementary
#5A9E2B #352B9E #9E2B94
monochromatic
#233E11 #3F6E1E #5A9E2B #76CA3C #98D76C

Accessibility & contrast

On white

3.30
#5A9E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#5A9E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9E2B
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9E2B#FFFFFF#000000##000000
##5A9E2B1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49117
Deuteranopia (green-blind)
#9B8B36
Tritanopia (blue-blind)
#589887
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a9e2b;
/* rgb */ color: rgb(90, 158, 43);
/* oklch */ color: oklch(63.1% 0.162 135.3);
Tailwind
colors: {
  custom: {
    50: '#8ebb6c',
    500: '#5a9e2b',
    950: '#000000',
  },
}
SCSS
$custom: #5a9e2b;
$custom-light: #8ebb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9e2b",
  "rgb": {
    "r": 90,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 95.478,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6309,
    "c": 0.16209,
    "h": 135.3
  },
  "luminance": 0.26802
}

Semantic roles & 50–950 ramp

primary
#5A9E2B
secondary
#9A67BE
accent
#47E0A2
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5A9E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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