#5A8013#5A8013

#5A8013 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.1% C 0.137 H 128.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5A8013
RGBrgb(90, 128, 19)
HSLhsl(81, 74%, 29%)
HSVhsv(81, 85%, 50%)
CMYKcmyk(29.7%, 0%, 85.2%, 49.8%)
CIE-LABlab(49.08, -29.31, 49.29)
CIE-LCHlch(49.08, 57.35, 120.74°)
OKLaboklab(55.12% -0.0845 0.1076)
OKLCHoklch(55.12% 0.137 128.1)
XYZxyz(12.0532, 17.6587, 3.3894)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8013 #391380
analogous
#807013 #5A8013 #248013
triadic
#5A8013 #135A80 #80135A
tetradic
#5A8013 #138070 #391380 #801324
square
#5A8013 #138070 #391380 #801324
split-complementary
#5A8013 #132480 #701380
monochromatic
#131B04 #354B0B #5A8013 #7FB51B #A2E02D

Accessibility & contrast

On white

4.63
#5A8013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#5A8013 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A8013
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8013#FFFFFF#000000##FFFFFF
##5A80131.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#827420
Tritanopia (blue-blind)
#5D7A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a8013;
/* rgb */ color: rgb(90, 128, 19);
/* oklch */ color: oklch(55.1% 0.137 128.1);
Tailwind
colors: {
  custom: {
    50: '#8da55d',
    500: '#5a8013',
    950: '#000000',
  },
}
SCSS
$custom: #5a8013;
$custom-light: #8da55d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8013",
  "rgb": {
    "r": 90,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 80.917,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55116,
    "c": 0.13682,
    "h": 128.1
  },
  "luminance": 0.17659
}

Semantic roles & 50–950 ramp

primary
#5A8013
secondary
#6539B5
accent
#37F178
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0D0F05
muted
#7D7F79

Preview Lab

Preview with #5A8013

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

Preview Lab → · Contrast checker → · Palette generator →

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