#5A6D13#5A6D13

#5A6D13 is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.2% C 0.113 H 121.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5A6D13
RGBrgb(90, 109, 19)
HSLhsl(73, 70%, 25%)
HSVhsv(73, 83%, 43%)
CMYKcmyk(17.4%, 0%, 82.6%, 57.3%)
CIE-LABlab(43.00, -19.83, 43.84)
CIE-LCHlch(43.00, 48.12, 114.34°)
OKLaboklab(50.19% -0.0587 0.0961)
OKLCHoklch(50.19% 0.113 121.4)
XYZxyz(9.8028, 13.1580, 2.6393)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6D13 #26136D
analogous
#6D5313 #5A6D13 #2D6D13
triadic
#5A6D13 #135A6D #6D135A
tetradic
#5A6D13 #136D53 #26136D #6D132D
square
#5A6D13 #136D53 #26136D #6D132D
split-complementary
#5A6D13 #132D6D #53136D
monochromatic
#161A05 #2F390A #5A6D13 #85A11C #B0D525

Accessibility & contrast

On white

5.78
#5A6D13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A6D13
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6D13#FFFFFF#000000##FFFFFF
##5A6D131.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#72661C
Tritanopia (blue-blind)
#5F675C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5a6d13;
/* rgb */ color: rgb(90, 109, 19);
/* oklch */ color: oklch(50.2% 0.113 121.4);
Tailwind
colors: {
  custom: {
    50: '#8c965a',
    500: '#5a6d13',
    950: '#000000',
  },
}
SCSS
$custom: #5a6d13;
$custom-light: #8c965a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6d13",
  "rgb": {
    "r": 90,
    "g": 109,
    "b": 19
  },
  "hsl": {
    "h": 72.667,
    "s": 70.313,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50188,
    "c": 0.11259,
    "h": 121.4
  },
  "luminance": 0.13158
}

Semantic roles & 50–950 ramp

primary
#5A6D13
secondary
#4F38A4
accent
#3BED60
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5A6D13

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

Preview Lab → · Contrast checker → · Palette generator →

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