#5A7013#5A7013

#5A7013 is a mid, moderate yellow-green. Relative luminance 0.138; OKLCH L 51.0% C 0.116 H 122.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5A7013
RGBrgb(90, 112, 19)
HSLhsl(74, 71%, 26%)
HSVhsv(74, 83%, 44%)
CMYKcmyk(19.6%, 0%, 83%, 56.1%)
CIE-LABlab(43.96, -21.39, 44.71)
CIE-LCHlch(43.96, 49.56, 115.57°)
OKLaboklab(50.96% -0.063 0.0979)
OKLCHoklch(50.96% 0.116 122.8)
XYZxyz(10.1283, 13.8090, 2.7478)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7013 #291370
analogous
#705713 #5A7013 #2B7013
triadic
#5A7013 #135A70 #70135A
tetradic
#5A7013 #137057 #291370 #70132B
square
#5A7013 #137057 #291370 #70132B
split-complementary
#5A7013 #132B70 #571370
monochromatic
#151A04 #303C0A #5A7013 #84A41C #AED925

Accessibility & contrast

On white

5.58
#5A7013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5A7013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7013
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7013#FFFFFF#000000##FFFFFF
##5A70131.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#5F6A5F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5a7013;
/* rgb */ color: rgb(90, 112, 19);
/* oklch */ color: oklch(51.0% 0.116 122.8);
Tailwind
colors: {
  custom: {
    50: '#8c995a',
    500: '#5a7013',
    950: '#000000',
  },
}
SCSS
$custom: #5a7013;
$custom-light: #8c995a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7013",
  "rgb": {
    "r": 90,
    "g": 112,
    "b": 19
  },
  "hsl": {
    "h": 74.194,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50961,
    "c": 0.11641,
    "h": 122.8
  },
  "luminance": 0.13809
}

Semantic roles & 50–950 ramp

primary
#5A7013
secondary
#5238A7
accent
#3AEE65
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5A7013

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

Preview Lab → · Contrast checker → · Palette generator →

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