#5A6A11#5A6A11

#5A6A11 is a mid, moderate yellow-green. Relative luminance 0.125; OKLCH L 49.4% C 0.110 H 119.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5A6A11
RGBrgb(90, 106, 17)
HSLhsl(71, 72%, 24%)
HSVhsv(71, 84%, 42%)
CMYKcmyk(15.1%, 0%, 84%, 58.4%)
CIE-LABlab(42.03, -18.34, 43.61)
CIE-LCHlch(42.03, 47.31, 112.80°)
OKLaboklab(49.41% -0.0548 0.0952)
OKLCHoklch(49.41% 0.11 119.9)
XYZxyz(9.4719, 12.5222, 2.4483)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6A11 #21116A
analogous
#6A4E11 #5A6A11 #2D6A11
triadic
#5A6A11 #115A6A #6A115A
tetradic
#5A6A11 #116A4E #21116A #6A112D
square
#5A6A11 #116A4E #21116A #6A112D
split-complementary
#5A6A11 #112D6A #4E116A
monochromatic
#161A04 #2D3509 #5A6A11 #879F19 #B4D322

Accessibility & contrast

On white

5.99
#5A6A11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5A6A11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6A11
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6A11#FFFFFF#000000##FFFFFF
##5A6A111.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#6F631A
Tritanopia (blue-blind)
#60645A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5a6a11;
/* rgb */ color: rgb(90, 106, 17);
/* oklch */ color: oklch(49.4% 0.110 119.9);
Tailwind
colors: {
  custom: {
    50: '#8c9458',
    500: '#5a6a11',
    950: '#000000',
  },
}
SCSS
$custom: #5a6a11;
$custom-light: #8c9458;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6a11",
  "rgb": {
    "r": 90,
    "g": 106,
    "b": 17
  },
  "hsl": {
    "h": 70.787,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.49405,
    "c": 0.10983,
    "h": 119.9
  },
  "luminance": 0.12522
}

Semantic roles & 50–950 ramp

primary
#5A6A11
secondary
#4935A2
accent
#39EF5A
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5A6A11

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

Preview Lab → · Contrast checker → · Palette generator →

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