#5A8110#5A8110

#5A8110 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.4% C 0.139 H 128.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#5A8110
RGBrgb(90, 129, 16)
HSLhsl(81, 78%, 28%)
HSVhsv(81, 88%, 51%)
CMYKcmyk(30.2%, 0%, 87.6%, 49.4%)
CIE-LABlab(49.39, -29.90, 50.34)
CIE-LCHlch(49.39, 58.55, 120.71°)
OKLaboklab(55.36% -0.0862 0.1094)
OKLCHoklch(55.36% 0.139 128.3)
XYZxyz(12.1603, 17.9113, 3.3067)
Luminance0.1791 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8110 #371081
analogous
#816F10 #5A8110 #218110
triadic
#5A8110 #105A81 #81105A
tetradic
#5A8110 #10816F #371081 #811021
square
#5A8110 #10816F #371081 #811021
split-complementary
#5A8110 #102181 #6F1081
monochromatic
#131B03 #344B09 #5A8110 #80B717 #A3E427

Accessibility & contrast

On white

4.58
#5A8110 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5A8110 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8110
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8110#FFFFFF#000000##000000
##5A81101.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#5D7B6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a8110;
/* rgb */ color: rgb(90, 129, 16);
/* oklch */ color: oklch(55.4% 0.139 128.3);
Tailwind
colors: {
  custom: {
    50: '#8da55c',
    500: '#5a8110',
    950: '#000000',
  },
}
SCSS
$custom: #5a8110;
$custom-light: #8da55c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8110",
  "rgb": {
    "r": 90,
    "g": 129,
    "b": 16
  },
  "hsl": {
    "h": 80.708,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55364,
    "c": 0.13929,
    "h": 128.3
  },
  "luminance": 0.17912
}

Semantic roles & 50–950 ramp

primary
#5A8110
secondary
#6236B7
accent
#33F476
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0D0F04
muted
#7D7F79

Preview Lab

Preview with #5A8110

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

Preview Lab → · Contrast checker → · Palette generator →

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