#5B9C1D#5B9C1D

#5B9C1D is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 62.5% C 0.167 H 133.8°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5B9C1D
RGBrgb(91, 156, 29)
HSLhsl(91, 69%, 36%)
HSVhsv(91, 81%, 61%)
CMYKcmyk(41.7%, 0%, 81.4%, 38.8%)
CIE-LABlab(58.12, -40.99, 54.62)
CIE-LCHlch(58.12, 68.29, 126.89°)
OKLaboklab(62.53% -0.1154 0.1205)
OKLCHoklch(62.53% 0.167 133.8)
XYZxyz(16.4243, 26.0889, 5.3324)
Luminance0.2609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9C1D #5E1D9C
analogous
#9B9C1D #5B9C1D #1D9C1F
triadic
#5B9C1D #1D5B9C #9C1D5B
tetradic
#5B9C1D #1D9B9C #5E1D9C #9C1F1D
square
#5B9C1D #1D9B9C #5E1D9C #9C1F1D
split-complementary
#5B9C1D #1F1D9C #9C1D9B
monochromatic
#1F350A #3D6813 #5B9C1D #79D027 #98DF54

Accessibility & contrast

On white

3.38
#5B9C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#5B9C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9C1D
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9C1D#FFFFFF#000000##000000
##5B9C1D1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#9A8A2C
Tritanopia (blue-blind)
#5B9685
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5b9c1d;
/* rgb */ color: rgb(91, 156, 29);
/* oklch */ color: oklch(62.5% 0.167 133.8);
Tailwind
colors: {
  custom: {
    50: '#8fba65',
    500: '#5b9c1d',
    950: '#000000',
  },
}
SCSS
$custom: #5b9c1d;
$custom-light: #8fba65;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9c1d",
  "rgb": {
    "r": 91,
    "g": 156,
    "b": 29
  },
  "hsl": {
    "h": 90.709,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62529,
    "c": 0.16679,
    "h": 133.8
  },
  "luminance": 0.2609
}

Semantic roles & 50–950 ramp

primary
#5B9C1D
secondary
#8C52C2
accent
#3CEB96
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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