#5AA233#5AA233

#5AA233 is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.2% C 0.162 H 136.6°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5AA233
RGBrgb(90, 162, 51)
HSLhsl(99, 52%, 42%)
HSVhsv(99, 69%, 64%)
CMYKcmyk(44.4%, 0%, 68.5%, 36.5%)
CIE-LABlab(60.12, -42.38, 48.71)
CIE-LCHlch(60.12, 64.56, 131.02°)
OKLaboklab(64.2% -0.1175 0.1113)
OKLCHoklch(64.2% 0.162 136.6)
XYZxyz(17.7338, 28.2523, 7.6501)
Luminance0.2825 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA233 #7B33A2
analogous
#92A233 #5AA233 #33A244
triadic
#5AA233 #335AA2 #A2335A
tetradic
#5AA233 #3392A2 #7B33A2 #A24433
square
#5AA233 #3392A2 #7B33A2 #A24433
split-complementary
#5AA233 #4433A2 #A23392
monochromatic
#264516 #407324 #5AA233 #77C74C #9AD57A

Accessibility & contrast

On white

3.16
#5AA233 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#5AA233 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA233
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA233#FFFFFF#000000##000000
##5AA2331.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89523
Deuteranopia (green-blind)
#9E8F3D
Tritanopia (blue-blind)
#579C8C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5aa233;
/* rgb */ color: rgb(90, 162, 51);
/* oklch */ color: oklch(64.2% 0.162 136.6);
Tailwind
colors: {
  custom: {
    50: '#8fbe71',
    500: '#5aa233',
    950: '#000000',
  },
}
SCSS
$custom: #5aa233;
$custom-light: #8fbe71;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa233",
  "rgb": {
    "r": 90,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 98.919,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64196,
    "c": 0.16186,
    "h": 136.6
  },
  "luminance": 0.28253
}

Semantic roles & 50–950 ramp

primary
#5AA233
secondary
#A473BE
accent
#4CDCA9
background
#F9FBF7
surface
#F1F7ED
border
#CBD0C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5AA233

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

Preview Lab → · Contrast checker → · Palette generator →

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