#5A7A19#5A7A19

#5A7A19 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.6% C 0.126 H 126.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5A7A19
RGBrgb(90, 122, 25)
HSLhsl(80, 66%, 29%)
HSVhsv(80, 80%, 48%)
CMYKcmyk(26.2%, 0%, 79.5%, 52.2%)
CIE-LABlab(47.19, -26.13, 45.71)
CIE-LCHlch(47.19, 52.65, 119.75°)
OKLaboklab(53.59% -0.0754 0.1011)
OKLCHoklch(53.59% 0.126 126.7)
XYZxyz(11.3515, 16.1627, 3.4412)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7A19 #39197A
analogous
#7A6A19 #5A7A19 #2A7A19
triadic
#5A7A19 #195A7A #7A195A
tetradic
#5A7A19 #197A6A #39197A #7A192A
square
#5A7A19 #197A6A #39197A #7A192A
split-complementary
#5A7A19 #192A7A #6A197A
monochromatic
#131905 #35470F #5A7A19 #7FAD23 #A2D637

Accessibility & contrast

On white

4.96
#5A7A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5A7A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7A19
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7A19#FFFFFF#000000##FFFFFF
##5A7A191.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817102
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#5E7468
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5a7a19;
/* rgb */ color: rgb(90, 122, 25);
/* oklch */ color: oklch(53.6% 0.126 126.7);
Tailwind
colors: {
  custom: {
    50: '#8ca05e',
    500: '#5a7a19',
    950: '#000000',
  },
}
SCSS
$custom: #5a7a19;
$custom-light: #8ca05e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7a19",
  "rgb": {
    "r": 90,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 79.794,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53588,
    "c": 0.12611,
    "h": 126.7
  },
  "luminance": 0.16163
}

Semantic roles & 50–950 ramp

primary
#5A7A19
secondary
#6540AF
accent
#3FE977
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5A7A19

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

Preview Lab → · Contrast checker → · Palette generator →

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