#5A7719#5A7719

#5A7719 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.8% C 0.122 H 125.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5A7719
RGBrgb(90, 119, 25)
HSLhsl(79, 65%, 28%)
HSVhsv(79, 79%, 47%)
CMYKcmyk(24.4%, 0%, 79%, 53.3%)
CIE-LABlab(46.23, -24.64, 44.80)
CIE-LCHlch(46.23, 51.13, 118.81°)
OKLaboklab(52.81% -0.0714 0.0992)
OKLCHoklch(52.81% 0.122 125.7)
XYZxyz(10.9888, 15.4373, 3.3203)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7719 #361977
analogous
#776519 #5A7719 #2B7719
triadic
#5A7719 #195A77 #77195A
tetradic
#5A7719 #197765 #361977 #77192B
square
#5A7719 #197765 #361977 #77192B
split-complementary
#5A7719 #192B77 #651977
monochromatic
#131905 #34440E #5A7719 #80AA24 #A4D536

Accessibility & contrast

On white

5.14
#5A7719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5A7719 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7719
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7719#FFFFFF#000000##FFFFFF
##5A77191.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F03
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#5E7165
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a7719;
/* rgb */ color: rgb(90, 119, 25);
/* oklch */ color: oklch(52.8% 0.122 125.7);
Tailwind
colors: {
  custom: {
    50: '#8c9e5e',
    500: '#5a7719',
    950: '#000000',
  },
}
SCSS
$custom: #5a7719;
$custom-light: #8c9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7719",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 25
  },
  "hsl": {
    "h": 78.511,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52809,
    "c": 0.12218,
    "h": 125.7
  },
  "luminance": 0.15437
}

Semantic roles & 50–950 ramp

primary
#5A7719
secondary
#6140AC
accent
#40E874
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5A7719

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

Preview Lab → · Contrast checker → · Palette generator →

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