#5A6C13#5A6C13

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

Color values

HEX#5A6C13
RGBrgb(90, 108, 19)
HSLhsl(72, 70%, 25%)
HSVhsv(72, 82%, 42%)
CMYKcmyk(16.7%, 0%, 82.4%, 57.6%)
CIE-LABlab(42.68, -19.31, 43.55)
CIE-LCHlch(42.68, 47.64, 113.91°)
OKLaboklab(49.93% -0.0573 0.0954)
OKLCHoklch(49.93% 0.111 121)
XYZxyz(9.6967, 12.9458, 2.6039)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6C13 #25136C
analogous
#6C5213 #5A6C13 #2D6C13
triadic
#5A6C13 #135A6C #6C135A
tetradic
#5A6C13 #136C52 #25136C #6C132D
square
#5A6C13 #136C52 #25136C #6C132D
split-complementary
#5A6C13 #132D6C #52136C
monochromatic
#161A05 #2F380A #5A6C13 #85A01C #B1D425

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A6C13#FFFFFF#000000##FFFFFF
##5A6C131.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)
#71651C
Tritanopia (blue-blind)
#5F665C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5a6c13;
/* rgb */ color: rgb(90, 108, 19);
/* oklch */ color: oklch(49.9% 0.111 121.0);
Tailwind
colors: {
  custom: {
    50: '#8c965a',
    500: '#5a6c13',
    950: '#000000',
  },
}
SCSS
$custom: #5a6c13;
$custom-light: #8c965a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6c13",
  "rgb": {
    "r": 90,
    "g": 108,
    "b": 19
  },
  "hsl": {
    "h": 72.135,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.4993,
    "c": 0.11132,
    "h": 121
  },
  "luminance": 0.12946
}

Semantic roles & 50–950 ramp

primary
#5A6C13
secondary
#4D38A3
accent
#3BED5F
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5A6C13

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

Preview Lab → · Contrast checker → · Palette generator →

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