#5A7619#5A7619

#5A7619 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.5% C 0.121 H 125.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5A7619
RGBrgb(90, 118, 25)
HSLhsl(78, 65%, 28%)
HSVhsv(78, 79%, 46%)
CMYKcmyk(23.7%, 0%, 78.8%, 53.7%)
CIE-LABlab(45.91, -24.14, 44.50)
CIE-LCHlch(45.91, 50.63, 118.48°)
OKLaboklab(52.55% -0.07 0.0985)
OKLCHoklch(52.55% 0.121 125.4)
XYZxyz(10.8704, 15.2006, 3.2808)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7619 #351976
analogous
#766319 #5A7619 #2B7619
triadic
#5A7619 #195A76 #76195A
tetradic
#5A7619 #197663 #351976 #76192B
square
#5A7619 #197663 #351976 #76192B
split-complementary
#5A7619 #192B76 #631976
monochromatic
#131905 #33430E #5A7619 #81A824 #A4D435

Accessibility & contrast

On white

5.20
#5A7619 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5A7619 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7619
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7619#FFFFFF#000000##FFFFFF
##5A76191.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E04
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#5E7064
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a7619;
/* rgb */ color: rgb(90, 118, 25);
/* oklch */ color: oklch(52.5% 0.121 125.4);
Tailwind
colors: {
  custom: {
    50: '#8c9d5e',
    500: '#5a7619',
    950: '#000000',
  },
}
SCSS
$custom: #5a7619;
$custom-light: #8c9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7619",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 25
  },
  "hsl": {
    "h": 78.065,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5255,
    "c": 0.12087,
    "h": 125.4
  },
  "luminance": 0.15201
}

Semantic roles & 50–950 ramp

primary
#5A7619
secondary
#6040AB
accent
#40E872
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5A7619

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

Preview Lab → · Contrast checker → · Palette generator →

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