#5A6A10#5A6A10

#5A6A10 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#5A6A10
RGBrgb(90, 106, 16)
HSLhsl(71, 74%, 24%)
HSVhsv(71, 85%, 42%)
CMYKcmyk(15.1%, 0%, 84.9%, 58.4%)
CIE-LABlab(42.03, -18.38, 43.91)
CIE-LCHlch(42.03, 47.60, 112.71°)
OKLaboklab(49.4% -0.055 0.0957)
OKLCHoklch(49.4% 0.11 119.9)
XYZxyz(9.4642, 12.5192, 2.4080)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6A10 #20106A
analogous
#6A4D10 #5A6A10 #2D6A10
triadic
#5A6A10 #105A6A #6A105A
tetradic
#5A6A10 #106A4D #20106A #6A102D
square
#5A6A10 #106A4D #20106A #6A102D
split-complementary
#5A6A10 #102D6A #4D106A
monochromatic
#171B04 #2D3508 #5A6A10 #879F18 #B4D420

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A6A10#FFFFFF#000000##FFFFFF
##5A6A101.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)
#6F6319
Tritanopia (blue-blind)
#60645A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5a6a10;
/* rgb */ color: rgb(90, 106, 16);
/* oklch */ color: oklch(49.4% 0.110 119.9);
Tailwind
colors: {
  custom: {
    50: '#8c9458',
    500: '#5a6a10',
    950: '#000000',
  },
}
SCSS
$custom: #5a6a10;
$custom-light: #8c9458;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6a10",
  "rgb": {
    "r": 90,
    "g": 106,
    "b": 16
  },
  "hsl": {
    "h": 70.667,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.494,
    "c": 0.11033,
    "h": 119.9
  },
  "luminance": 0.12519
}

Semantic roles & 50–950 ramp

primary
#5A6A10
secondary
#4734A2
accent
#37F058
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5A6A10

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

Preview Lab → · Contrast checker → · Palette generator →

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