#5A6D10#5A6D10

#5A6D10 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 50.2% C 0.114 H 121.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5A6D10
RGBrgb(90, 109, 16)
HSLhsl(72, 74%, 25%)
HSVhsv(72, 85%, 43%)
CMYKcmyk(17.4%, 0%, 85.3%, 57.3%)
CIE-LABlab(42.99, -19.96, 44.76)
CIE-LCHlch(42.99, 49.01, 114.03°)
OKLaboklab(50.17% -0.0593 0.0975)
OKLCHoklch(50.17% 0.114 121.3)
XYZxyz(9.7788, 13.1483, 2.5128)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6D10 #23106D
analogous
#6D5210 #5A6D10 #2C6D10
triadic
#5A6D10 #105A6D #6D105A
tetradic
#5A6D10 #106D52 #23106D #6D102C
square
#5A6D10 #106D52 #23106D #6D102C
split-complementary
#5A6D10 #102C6D #52106D
monochromatic
#161B04 #2E3808 #5A6D10 #86A218 #B2D820

Accessibility & contrast

On white

5.79
#5A6D10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5A6D10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6D10
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6D10#FFFFFF#000000##FFFFFF
##5A6D101.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#72661A
Tritanopia (blue-blind)
#60675C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5a6d10;
/* rgb */ color: rgb(90, 109, 16);
/* oklch */ color: oklch(50.2% 0.114 121.3);
Tailwind
colors: {
  custom: {
    50: '#8c9659',
    500: '#5a6d10',
    950: '#000000',
  },
}
SCSS
$custom: #5a6d10;
$custom-light: #8c9659;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6d10",
  "rgb": {
    "r": 90,
    "g": 109,
    "b": 16
  },
  "hsl": {
    "h": 72.258,
    "s": 74.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.50171,
    "c": 0.11409,
    "h": 121.3
  },
  "luminance": 0.13148
}

Semantic roles & 50–950 ramp

primary
#5A6D10
secondary
#4B34A5
accent
#37F15D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5A6D10

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

Preview Lab → · Contrast checker → · Palette generator →

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