#5B9F1F#5B9F1F

#5B9F1F is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.3% C 0.170 H 134.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5B9F1F
RGBrgb(91, 159, 31)
HSLhsl(92, 67%, 37%)
HSVhsv(92, 81%, 62%)
CMYKcmyk(42.8%, 0%, 80.5%, 37.6%)
CIE-LABlab(59.08, -42.15, 54.92)
CIE-LCHlch(59.08, 69.22, 127.51°)
OKLaboklab(63.32% -0.1184 0.1214)
OKLCHoklch(63.32% 0.17 134.3)
XYZxyz(16.9595, 27.1184, 5.6368)
Luminance0.2712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9F1F #631F9F
analogous
#9B9F1F #5B9F1F #1F9F23
triadic
#5B9F1F #1F5B9F #9F1F5B
tetradic
#5B9F1F #1F9B9F #631F9F #9F231F
square
#5B9F1F #1F9B9F #631F9F #9F231F
split-complementary
#5B9F1F #231F9F #9F1F9B
monochromatic
#20390B #3E6C15 #5B9F1F #78D229 #98DF5A

Accessibility & contrast

On white

3.27
#5B9F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#5B9F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9F1F
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9F1F#FFFFFF#000000##000000
##5B9F1F1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#5A9988
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b9f1f;
/* rgb */ color: rgb(91, 159, 31);
/* oklch */ color: oklch(63.3% 0.170 134.3);
Tailwind
colors: {
  custom: {
    50: '#90bc66',
    500: '#5b9f1f',
    950: '#000000',
  },
}
SCSS
$custom: #5b9f1f;
$custom-light: #90bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9f1f",
  "rgb": {
    "r": 91,
    "g": 159,
    "b": 31
  },
  "hsl": {
    "h": 91.875,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63321,
    "c": 0.16953,
    "h": 134.3
  },
  "luminance": 0.27119
}

Semantic roles & 50–950 ramp

primary
#5B9F1F
secondary
#9057C3
accent
#3EEA99
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5B9F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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