#5A6719#5A6719

#5A6719 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.7% C 0.101 H 118.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5A6719
RGBrgb(90, 103, 25)
HSLhsl(70, 61%, 25%)
HSVhsv(70, 76%, 40%)
CMYKcmyk(12.6%, 0%, 75.7%, 59.6%)
CIE-LABlab(41.13, -16.32, 39.90)
CIE-LCHlch(41.13, 43.11, 112.24°)
OKLaboklab(48.69% -0.0485 0.0889)
OKLCHoklch(48.69% 0.101 118.6)
XYZxyz(9.2424, 11.9444, 2.7381)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6719 #261967
analogous
#674D19 #5A6719 #336719
triadic
#5A6719 #195A67 #67195A
tetradic
#5A6719 #19674D #261967 #671933
square
#5A6719 #19674D #261967 #671933
split-complementary
#5A6719 #193367 #4D1967
monochromatic
#161906 #2F360D #5A6719 #859825 #B0C931

Accessibility & contrast

On white

6.20
#5A6719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5A6719 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6719
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6719#FFFFFF#000000##FFFFFF
##5A67191.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E610B
Deuteranopia (green-blind)
#6D611F
Tritanopia (blue-blind)
#606158
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a6719;
/* rgb */ color: rgb(90, 103, 25);
/* oklch */ color: oklch(48.7% 0.101 118.6);
Tailwind
colors: {
  custom: {
    50: '#8b925c',
    500: '#5a6719',
    950: '#000000',
  },
}
SCSS
$custom: #5a6719;
$custom-light: #8b925c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6719",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 25
  },
  "hsl": {
    "h": 70,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4869,
    "c": 0.10123,
    "h": 118.6
  },
  "luminance": 0.11944
}

Semantic roles & 50–950 ramp

primary
#5A6719
secondary
#4F3F9D
accent
#44E45E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5A6719

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

Preview Lab → · Contrast checker → · Palette generator →

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