#5A7514#5A7514

#5A7514 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 52.3% C 0.122 H 124.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5A7514
RGBrgb(90, 117, 20)
HSLhsl(77, 71%, 27%)
HSVhsv(77, 83%, 46%)
CMYKcmyk(23.1%, 0%, 82.9%, 54.1%)
CIE-LABlab(45.56, -23.89, 45.85)
CIE-LCHlch(45.56, 51.70, 117.52°)
OKLaboklab(52.26% -0.0697 0.1005)
OKLCHoklch(52.26% 0.122 124.8)
XYZxyz(10.7041, 14.9466, 2.9827)
Luminance0.1495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7514 #2F1475
analogous
#756014 #5A7514 #2A7514
triadic
#5A7514 #145A75 #75145A
tetradic
#5A7514 #147560 #2F1475 #75142A
square
#5A7514 #147560 #2F1475 #75142A
split-complementary
#5A7514 #142A75 #601475
monochromatic
#141A04 #32410B #5A7514 #82A91D #A9DA29

Accessibility & contrast

On white

5.26
#5A7514 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5A7514 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7514
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7514#FFFFFF#000000##FFFFFF
##5A75141.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#786C1E
Tritanopia (blue-blind)
#5F6F63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a7514;
/* rgb */ color: rgb(90, 117, 20);
/* oklch */ color: oklch(52.3% 0.122 124.8);
Tailwind
colors: {
  custom: {
    50: '#8c9c5b',
    500: '#5a7514',
    950: '#000000',
  },
}
SCSS
$custom: #5a7514;
$custom-light: #8c9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7514",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 20
  },
  "hsl": {
    "h": 76.701,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.5226,
    "c": 0.12231,
    "h": 124.8
  },
  "luminance": 0.14947
}

Semantic roles & 50–950 ramp

primary
#5A7514
secondary
#593AAB
accent
#3AEE6C
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #5A7514

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

Preview Lab → · Contrast checker → · Palette generator →

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