#5A7C14#5A7C14

#5A7C14 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 54.1% C 0.131 H 127.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5A7C14
RGBrgb(90, 124, 20)
HSLhsl(80, 72%, 28%)
HSVhsv(80, 84%, 49%)
CMYKcmyk(27.4%, 0%, 83.9%, 51.4%)
CIE-LABlab(47.80, -27.35, 47.87)
CIE-LCHlch(47.80, 55.13, 119.74°)
OKLaboklab(54.08% -0.0791 0.1048)
OKLCHoklch(54.08% 0.131 127.1)
XYZxyz(11.5504, 16.6392, 3.2648)
Luminance0.1664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7C14 #36147C
analogous
#7C6A14 #5A7C14 #267C14
triadic
#5A7C14 #145A7C #7C145A
tetradic
#5A7C14 #147C6A #36147C #7C1426
square
#5A7C14 #147C6A #36147C #7C1426
split-complementary
#5A7C14 #14267C #6A147C
monochromatic
#131A04 #34470B #5A7C14 #80B11D #A4DD2D

Accessibility & contrast

On white

4.85
#5A7C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5A7C14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7C14
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7C14#FFFFFF#000000##FFFFFF
##5A7C141.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7E7120
Tritanopia (blue-blind)
#5E7669
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a7c14;
/* rgb */ color: rgb(90, 124, 20);
/* oklch */ color: oklch(54.1% 0.131 127.1);
Tailwind
colors: {
  custom: {
    50: '#8ca25c',
    500: '#5a7c14',
    950: '#000000',
  },
}
SCSS
$custom: #5a7c14;
$custom-light: #8ca25c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7c14",
  "rgb": {
    "r": 90,
    "g": 124,
    "b": 20
  },
  "hsl": {
    "h": 79.615,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54079,
    "c": 0.13128,
    "h": 127.1
  },
  "luminance": 0.16639
}

Semantic roles & 50–950 ramp

primary
#5A7C14
secondary
#613AB2
accent
#39EF74
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0F05
muted
#7D7E79

Preview Lab

Preview with #5A7C14

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

Preview Lab → · Contrast checker → · Palette generator →

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