#5A8A30#5A8A30

#5A8A30 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.9% C 0.132 H 133.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5A8A30
RGBrgb(90, 138, 48)
HSLhsl(92, 48%, 36%)
HSVhsv(92, 65%, 54%)
CMYKcmyk(34.8%, 0%, 65.2%, 45.9%)
CIE-LABlab(52.47, -32.09, 41.79)
CIE-LCHlch(52.47, 52.69, 127.52°)
OKLaboklab(57.94% -0.0897 0.0963)
OKLCHoklch(57.94% 0.132 133)
XYZxyz(13.8382, 20.5635, 6.0358)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8A30 #60308A
analogous
#878A30 #5A8A30 #308A33
triadic
#5A8A30 #305A8A #8A305A
tetradic
#5A8A30 #30878A #60308A #8A3330
square
#5A8A30 #30878A #60308A #8A3330
split-complementary
#5A8A30 #33308A #8A3087
monochromatic
#1F2F10 #3C5D20 #5A8A30 #78B740 #97CB69

Accessibility & contrast

On white

4.11
#5A8A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5A8A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8A30
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8A30#FFFFFF#000000##000000
##5A8A301.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#908025
Deuteranopia (green-blind)
#897C37
Tritanopia (blue-blind)
#5B8577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5a8a30;
/* rgb */ color: rgb(90, 138, 48);
/* oklch */ color: oklch(57.9% 0.132 133.0);
Tailwind
colors: {
  custom: {
    50: '#8cac6d',
    500: '#5a8a30',
    950: '#000000',
  },
}
SCSS
$custom: #5a8a30;
$custom-light: #8cac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8a30",
  "rgb": {
    "r": 90,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 92,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57937,
    "c": 0.13165,
    "h": 133
  },
  "luminance": 0.20564
}

Semantic roles & 50–950 ramp

primary
#5A8A30
secondary
#8E64B2
accent
#50D898
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #5A8A30

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

Preview Lab → · Contrast checker → · Palette generator →

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