#5A8A32#5A8A32

#5A8A32 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 58.0% C 0.130 H 133.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5A8A32
RGBrgb(90, 138, 50)
HSLhsl(93, 47%, 37%)
HSVhsv(93, 64%, 54%)
CMYKcmyk(34.8%, 0%, 63.8%, 45.9%)
CIE-LABlab(52.49, -31.90, 40.90)
CIE-LCHlch(52.49, 51.87, 127.95°)
OKLaboklab(57.96% -0.089 0.0947)
OKLCHoklch(57.96% 0.13 133.2)
XYZxyz(13.8804, 20.5804, 6.2581)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8A32 #62328A
analogous
#868A32 #5A8A32 #328A36
triadic
#5A8A32 #325A8A #8A325A
tetradic
#5A8A32 #32868A #62328A #8A3632
square
#5A8A32 #32868A #62328A #8A3632
split-complementary
#5A8A32 #36328A #8A3286
monochromatic
#1F3011 #3D5D22 #5A8A32 #77B742 #97CA6C

Accessibility & contrast

On white

4.10
#5A8A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5A8A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8A32
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8A32#FFFFFF#000000##000000
##5A8A321.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8028
Deuteranopia (green-blind)
#897C39
Tritanopia (blue-blind)
#5A8577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5a8a32;
/* rgb */ color: rgb(90, 138, 50);
/* oklch */ color: oklch(58.0% 0.130 133.2);
Tailwind
colors: {
  custom: {
    50: '#8cac6e',
    500: '#5a8a32',
    950: '#000000',
  },
}
SCSS
$custom: #5a8a32;
$custom-light: #8cac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8a32",
  "rgb": {
    "r": 90,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 92.727,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57958,
    "c": 0.12998,
    "h": 133.2
  },
  "luminance": 0.20581
}

Semantic roles & 50–950 ramp

primary
#5A8A32
secondary
#8F66B2
accent
#51D69A
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #5A8A32

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

Preview Lab → · Contrast checker → · Palette generator →

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