#5A6B16#5A6B16

#5A6B16 is a mid, moderate yellow-green. Relative luminance 0.127; OKLCH L 49.7% C 0.108 H 120.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5A6B16
RGBrgb(90, 107, 22)
HSLhsl(72, 66%, 25%)
HSVhsv(72, 79%, 42%)
CMYKcmyk(15.9%, 0%, 79.4%, 58%)
CIE-LABlab(42.38, -18.63, 42.24)
CIE-LCHlch(42.38, 46.17, 113.80°)
OKLaboklab(49.69% -0.0552 0.0932)
OKLCHoklch(49.69% 0.108 120.6)
XYZxyz(9.6191, 12.7470, 2.7126)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6B16 #27166B
analogous
#6B5116 #5A6B16 #2F6B16
triadic
#5A6B16 #165A6B #6B165A
tetradic
#5A6B16 #166B51 #27166B #6B162F
square
#5A6B16 #166B51 #27166B #6B162F
split-complementary
#5A6B16 #162F6B #51166B
monochromatic
#151905 #2F380C #5A6B16 #859E20 #AFD12B

Accessibility & contrast

On white

5.92
#5A6B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5A6B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6B16
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6B16#FFFFFF#000000##FFFFFF
##5A6B161.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726403
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#5F655B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a6b16;
/* rgb */ color: rgb(90, 107, 22);
/* oklch */ color: oklch(49.7% 0.108 120.6);
Tailwind
colors: {
  custom: {
    50: '#8b955b',
    500: '#5a6b16',
    950: '#000000',
  },
}
SCSS
$custom: #5a6b16;
$custom-light: #8b955b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6b16",
  "rgb": {
    "r": 90,
    "g": 107,
    "b": 22
  },
  "hsl": {
    "h": 72,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49692,
    "c": 0.10833,
    "h": 120.6
  },
  "luminance": 0.12747
}

Semantic roles & 50–950 ramp

primary
#5A6B16
secondary
#503BA1
accent
#3FE961
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5A6B16

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

Preview Lab → · Contrast checker → · Palette generator →

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