#5A991C#5A991C

#5A991C is a mid, vivid yellow-green. Relative luminance 0.250; OKLCH L 61.7% C 0.164 H 133.5°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5A991C
RGBrgb(90, 153, 28)
HSLhsl(90, 69%, 35%)
HSVhsv(90, 82%, 60%)
CMYKcmyk(41.2%, 0%, 81.7%, 40%)
CIE-LABlab(57.11, -40.12, 53.97)
CIE-LCHlch(57.11, 67.25, 126.63°)
OKLaboklab(61.69% -0.113 0.119)
OKLCHoklch(61.69% 0.164 133.5)
XYZxyz(15.8170, 25.0392, 5.0980)
Luminance0.2504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A991C #5B1C99
analogous
#98991C #5A991C #1C991C
triadic
#5A991C #1C5A99 #991C5A
tetradic
#5A991C #1C9899 #5B1C99 #991C1C
square
#5A991C #1C9899 #5B1C99 #991C1C
split-complementary
#5A991C #1C1C99 #991C98
monochromatic
#1D3209 #3C6513 #5A991C #78CD25 #97DF50

Accessibility & contrast

On white

3.50
#5A991C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#5A991C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A991C
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A991C#FFFFFF#000000##000000
##5A991C1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#97872B
Tritanopia (blue-blind)
#5A9382
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a991c;
/* rgb */ color: rgb(90, 153, 28);
/* oklch */ color: oklch(61.7% 0.164 133.5);
Tailwind
colors: {
  custom: {
    50: '#8fb764',
    500: '#5a991c',
    950: '#000000',
  },
}
SCSS
$custom: #5a991c;
$custom-light: #8fb764;
$custom-dark: #000000;
JSON
{
  "hex": "#5a991c",
  "rgb": {
    "r": 90,
    "g": 153,
    "b": 28
  },
  "hsl": {
    "h": 90.24,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61689,
    "c": 0.16409,
    "h": 133.5
  },
  "luminance": 0.2504
}

Semantic roles & 50–950 ramp

primary
#5A991C
secondary
#894FC2
accent
#3CEC95
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A991C

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

Preview Lab → · Contrast checker → · Palette generator →

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