#5A6E13#5A6E13

#5A6E13 is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.4% C 0.114 H 121.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5A6E13
RGBrgb(90, 110, 19)
HSLhsl(73, 71%, 25%)
HSVhsv(73, 83%, 43%)
CMYKcmyk(18.2%, 0%, 82.7%, 56.9%)
CIE-LABlab(43.32, -20.35, 44.13)
CIE-LCHlch(43.32, 48.60, 114.76°)
OKLaboklab(50.44% -0.0601 0.0967)
OKLCHoklch(50.44% 0.114 121.9)
XYZxyz(9.9101, 13.3725, 2.6750)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6E13 #27136E
analogous
#6E5413 #5A6E13 #2C6E13
triadic
#5A6E13 #135A6E #6E135A
tetradic
#5A6E13 #136E54 #27136E #6E132C
square
#5A6E13 #136E54 #27136E #6E132C
split-complementary
#5A6E13 #132C6E #54136E
monochromatic
#151A05 #2F3A0A #5A6E13 #85A21C #AFD625

Accessibility & contrast

On white

5.71
#5A6E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5A6E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6E13
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6E13#FFFFFF#000000##FFFFFF
##5A6E131.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#73661C
Tritanopia (blue-blind)
#5F685D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5a6e13;
/* rgb */ color: rgb(90, 110, 19);
/* oklch */ color: oklch(50.4% 0.114 121.9);
Tailwind
colors: {
  custom: {
    50: '#8c975a',
    500: '#5a6e13',
    950: '#000000',
  },
}
SCSS
$custom: #5a6e13;
$custom-light: #8c975a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6e13",
  "rgb": {
    "r": 90,
    "g": 110,
    "b": 19
  },
  "hsl": {
    "h": 73.187,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50445,
    "c": 0.11386,
    "h": 121.9
  },
  "luminance": 0.13373
}

Semantic roles & 50–950 ramp

primary
#5A6E13
secondary
#5038A5
accent
#3AED62
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5A6E13

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

Preview Lab → · Contrast checker → · Palette generator →

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