#5D9D1B#5D9D1B

#5D9D1B is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 62.9% C 0.168 H 133.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5D9D1B
RGBrgb(93, 157, 27)
HSLhsl(90, 71%, 36%)
HSVhsv(90, 83%, 62%)
CMYKcmyk(40.8%, 0%, 82.8%, 38.4%)
CIE-LABlab(58.53, -40.81, 55.60)
CIE-LCHlch(58.53, 68.97, 126.28°)
OKLaboklab(62.89% -0.1151 0.1222)
OKLCHoklch(62.89% 0.168 133.3)
XYZxyz(16.7687, 26.5194, 5.2719)
Luminance0.2652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9D1B #5B1B9D
analogous
#9D9C1B #5D9D1B #1C9D1B
triadic
#5D9D1B #1B5D9D #9D1B5D
tetradic
#5D9D1B #1B9D9C #5B1B9D #9D1B1C
square
#5D9D1B #1B9D9C #5B1B9D #9D1B1C
split-complementary
#5D9D1B #1B1C9D #9C1B9D
monochromatic
#1F3509 #3E6912 #5D9D1B #7CD124 #9AE151

Accessibility & contrast

On white

3.33
#5D9D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#5D9D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9D1B
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9D1B#FFFFFF#000000##000000
##5D9D1B1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#5D9686
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5d9d1b;
/* rgb */ color: rgb(93, 157, 27);
/* oklch */ color: oklch(62.9% 0.168 133.3);
Tailwind
colors: {
  custom: {
    50: '#91ba64',
    500: '#5d9d1b',
    950: '#000000',
  },
}
SCSS
$custom: #5d9d1b;
$custom-light: #91ba64;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9d1b",
  "rgb": {
    "r": 93,
    "g": 157,
    "b": 27
  },
  "hsl": {
    "h": 89.538,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62885,
    "c": 0.16786,
    "h": 133.3
  },
  "luminance": 0.2652
}

Semantic roles & 50–950 ramp

primary
#5D9D1B
secondary
#8950C4
accent
#3AED93
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5D9D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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