#5A6911#5A6911

#5A6911 is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 49.1% C 0.109 H 119.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5A6911
RGBrgb(90, 105, 17)
HSLhsl(70, 72%, 24%)
HSVhsv(70, 84%, 41%)
CMYKcmyk(14.3%, 0%, 83.8%, 58.8%)
CIE-LABlab(41.72, -17.80, 43.32)
CIE-LCHlch(41.72, 46.84, 112.34°)
OKLaboklab(49.15% -0.0533 0.0946)
OKLCHoklch(49.15% 0.109 119.4)
XYZxyz(9.3694, 12.3173, 2.4141)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6911 #201169
analogous
#694C11 #5A6911 #2E6911
triadic
#5A6911 #115A69 #69115A
tetradic
#5A6911 #11694C #201169 #69112E
square
#5A6911 #11694C #201169 #69112E
split-complementary
#5A6911 #112E69 #4C1169
monochromatic
#171A04 #2D3408 #5A6911 #879E1A #B4D222

Accessibility & contrast

On white

6.06
#5A6911 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5A6911 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6911
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6911#FFFFFF#000000##FFFFFF
##5A69111.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6F631A
Tritanopia (blue-blind)
#606359
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a6911;
/* rgb */ color: rgb(90, 105, 17);
/* oklch */ color: oklch(49.1% 0.109 119.4);
Tailwind
colors: {
  custom: {
    50: '#8c9358',
    500: '#5a6911',
    950: '#000000',
  },
}
SCSS
$custom: #5a6911;
$custom-light: #8c9358;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6911",
  "rgb": {
    "r": 90,
    "g": 105,
    "b": 17
  },
  "hsl": {
    "h": 70.227,
    "s": 72.131,
    "l": 23.922
  },
  "oklch": {
    "l": 0.49149,
    "c": 0.10859,
    "h": 119.4
  },
  "luminance": 0.12317
}

Semantic roles & 50–950 ramp

primary
#5A6911
secondary
#4735A1
accent
#39EF58
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5A6911

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

Preview Lab → · Contrast checker → · Palette generator →

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