#5D9F1F#5D9F1F

#5D9F1F is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.4% C 0.168 H 133.8°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5D9F1F
RGBrgb(93, 159, 31)
HSLhsl(91, 67%, 37%)
HSVhsv(91, 81%, 62%)
CMYKcmyk(41.5%, 0%, 80.5%, 37.6%)
CIE-LABlab(59.18, -41.46, 55.04)
CIE-LCHlch(59.18, 68.90, 126.99°)
OKLaboklab(63.43% -0.1166 0.1216)
OKLCHoklch(63.43% 0.168 133.8)
XYZxyz(17.1594, 27.2215, 5.6462)
Luminance0.2722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9F1F #611F9F
analogous
#9D9F1F #5D9F1F #1F9F21
triadic
#5D9F1F #1F5D9F #9F1F5D
tetradic
#5D9F1F #1F9D9F #611F9F #9F211F
square
#5D9F1F #1F9D9F #611F9F #9F211F
split-complementary
#5D9F1F #211F9F #9F1F9D
monochromatic
#21390B #3F6C15 #5D9F1F #7BD229 #9ADF5A

Accessibility & contrast

On white

3.26
#5D9F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#5D9F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9F1F
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9F1F#FFFFFF#000000##000000
##5D9F1F1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#5D9888
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5d9f1f;
/* rgb */ color: rgb(93, 159, 31);
/* oklch */ color: oklch(63.4% 0.168 133.8);
Tailwind
colors: {
  custom: {
    50: '#91bc66',
    500: '#5d9f1f',
    950: '#000000',
  },
}
SCSS
$custom: #5d9f1f;
$custom-light: #91bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9f1f",
  "rgb": {
    "r": 93,
    "g": 159,
    "b": 31
  },
  "hsl": {
    "h": 90.938,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63425,
    "c": 0.16848,
    "h": 133.8
  },
  "luminance": 0.27222
}

Semantic roles & 50–950 ramp

primary
#5D9F1F
secondary
#8F57C3
accent
#3EEA97
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5D9F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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