#5A6913#5A6913

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

Color values

HEX#5A6913
RGBrgb(90, 105, 19)
HSLhsl(70, 69%, 24%)
HSVhsv(70, 82%, 41%)
CMYKcmyk(14.3%, 0%, 81.9%, 58.8%)
CIE-LABlab(41.73, -17.71, 42.68)
CIE-LCHlch(41.73, 46.21, 112.54°)
OKLaboklab(49.16% -0.0529 0.0936)
OKLCHoklch(49.16% 0.108 119.5)
XYZxyz(9.3858, 12.3239, 2.5003)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6913 #221369
analogous
#694D13 #5A6913 #2F6913
triadic
#5A6913 #135A69 #69135A
tetradic
#5A6913 #13694D #221369 #69132F
square
#5A6913 #13694D #221369 #69132F
split-complementary
#5A6913 #132F69 #4D1369
monochromatic
#161A05 #2E350A #5A6913 #869D1C #B3D126

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A6913#FFFFFF#000000##FFFFFF
##5A69131.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)
#6F631B
Tritanopia (blue-blind)
#606359
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a6913;
/* rgb */ color: rgb(90, 105, 19);
/* oklch */ color: oklch(49.2% 0.108 119.5);
Tailwind
colors: {
  custom: {
    50: '#8c9359',
    500: '#5a6913',
    950: '#000000',
  },
}
SCSS
$custom: #5a6913;
$custom-light: #8c9359;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6913",
  "rgb": {
    "r": 90,
    "g": 105,
    "b": 19
  },
  "hsl": {
    "h": 70.465,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4916,
    "c": 0.10752,
    "h": 119.5
  },
  "luminance": 0.12324
}

Semantic roles & 50–950 ramp

primary
#5A6913
secondary
#4A38A0
accent
#3CEC5A
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5A6913

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

Preview Lab → · Contrast checker → · Palette generator →

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