#5A7414#5A7414

#5A7414 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 52.0% C 0.121 H 124.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5A7414
RGBrgb(90, 116, 20)
HSLhsl(76, 71%, 27%)
HSVhsv(76, 83%, 45%)
CMYKcmyk(22.4%, 0%, 82.8%, 54.5%)
CIE-LABlab(45.24, -23.39, 45.56)
CIE-LCHlch(45.24, 51.21, 117.17°)
OKLaboklab(52% -0.0683 0.0999)
OKLCHoklch(52% 0.121 124.4)
XYZxyz(10.5882, 14.7148, 2.9441)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7414 #2E1474
analogous
#745E14 #5A7414 #2A7414
triadic
#5A7414 #145A74 #74145A
tetradic
#5A7414 #14745E #2E1474 #74142A
square
#5A7414 #14745E #2E1474 #74142A
split-complementary
#5A7414 #142A74 #5E1474
monochromatic
#141A05 #32400B #5A7414 #83A81D #AADA28

Accessibility & contrast

On white

5.33
#5A7414 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5A7414 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7414
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7414#FFFFFF#000000##FFFFFF
##5A74141.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#786B1E
Tritanopia (blue-blind)
#5F6E62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5a7414;
/* rgb */ color: rgb(90, 116, 20);
/* oklch */ color: oklch(52.0% 0.121 124.4);
Tailwind
colors: {
  custom: {
    50: '#8c9c5b',
    500: '#5a7414',
    950: '#000000',
  },
}
SCSS
$custom: #5a7414;
$custom-light: #8c9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7414",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 20
  },
  "hsl": {
    "h": 76.25,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52001,
    "c": 0.12103,
    "h": 124.4
  },
  "luminance": 0.14715
}

Semantic roles & 50–950 ramp

primary
#5A7414
secondary
#583AAA
accent
#3AED6B
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #5A7414

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

Preview Lab → · Contrast checker → · Palette generator →

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