#5A7419#5A7419

#5A7419 is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 52.0% C 0.118 H 124.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5A7419
RGBrgb(90, 116, 25)
HSLhsl(77, 65%, 28%)
HSVhsv(77, 78%, 45%)
CMYKcmyk(22.4%, 0%, 78.4%, 54.5%)
CIE-LABlab(45.27, -23.13, 43.90)
CIE-LCHlch(45.27, 49.62, 117.79°)
OKLaboklab(52.03% -0.0672 0.0973)
OKLCHoklch(52.03% 0.118 124.7)
XYZxyz(10.6374, 14.7345, 3.2031)
Luminance0.1474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7419 #331974
analogous
#746119 #5A7419 #2C7419
triadic
#5A7419 #195A74 #74195A
tetradic
#5A7419 #197461 #331974 #74192C
square
#5A7419 #197461 #331974 #74192C
split-complementary
#5A7419 #192C74 #611974
monochromatic
#141905 #33420E #5A7419 #81A624 #A6D334

Accessibility & contrast

On white

5.32
#5A7419 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5A7419 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7419
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7419#FFFFFF#000000##FFFFFF
##5A74191.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C05
Deuteranopia (green-blind)
#776B22
Tritanopia (blue-blind)
#5F6E63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5a7419;
/* rgb */ color: rgb(90, 116, 25);
/* oklch */ color: oklch(52.0% 0.118 124.7);
Tailwind
colors: {
  custom: {
    50: '#8c9c5d',
    500: '#5a7419',
    950: '#000000',
  },
}
SCSS
$custom: #5a7419;
$custom-light: #8c9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7419",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 25
  },
  "hsl": {
    "h": 77.143,
    "s": 64.539,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52032,
    "c": 0.11824,
    "h": 124.7
  },
  "luminance": 0.14735
}

Semantic roles & 50–950 ramp

primary
#5A7419
secondary
#5E40A9
accent
#40E870
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5A7419

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

Preview Lab → · Contrast checker → · Palette generator →

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