#5A6C11#5A6C11

#5A6C11 is a mid, moderate yellow-green. Relative luminance 0.129; OKLCH L 49.9% C 0.112 H 120.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5A6C11
RGBrgb(90, 108, 17)
HSLhsl(72, 73%, 25%)
HSVhsv(72, 84%, 42%)
CMYKcmyk(16.7%, 0%, 84.3%, 57.6%)
CIE-LABlab(42.67, -19.39, 44.18)
CIE-LCHlch(42.67, 48.25, 113.70°)
OKLaboklab(49.92% -0.0577 0.0964)
OKLCHoklch(49.92% 0.112 120.9)
XYZxyz(9.6804, 12.9393, 2.5178)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6C11 #23116C
analogous
#6C5111 #5A6C11 #2D6C11
triadic
#5A6C11 #115A6C #6C115A
tetradic
#5A6C11 #116C51 #23116C #6C112D
square
#5A6C11 #116C51 #23116C #6C112D
split-complementary
#5A6C11 #112D6C #51116C
monochromatic
#161A04 #2E3709 #5A6C11 #86A119 #B2D622

Accessibility & contrast

On white

5.85
#5A6C11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5A6C11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6C11
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6C11#FFFFFF#000000##FFFFFF
##5A6C111.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#71651B
Tritanopia (blue-blind)
#60665C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5a6c11;
/* rgb */ color: rgb(90, 108, 17);
/* oklch */ color: oklch(49.9% 0.112 120.9);
Tailwind
colors: {
  custom: {
    50: '#8c9659',
    500: '#5a6c11',
    950: '#000000',
  },
}
SCSS
$custom: #5a6c11;
$custom-light: #8c9659;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6c11",
  "rgb": {
    "r": 90,
    "g": 108,
    "b": 17
  },
  "hsl": {
    "h": 71.868,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.49919,
    "c": 0.11235,
    "h": 120.9
  },
  "luminance": 0.12939
}

Semantic roles & 50–950 ramp

primary
#5A6C11
secondary
#4B35A4
accent
#38EF5D
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5A6C11

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

Preview Lab → · Contrast checker → · Palette generator →

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