#5B9E1F#5B9E1F

#5B9E1F is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.1% C 0.168 H 134.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5B9E1F
RGBrgb(91, 158, 31)
HSLhsl(92, 67%, 37%)
HSVhsv(92, 80%, 62%)
CMYKcmyk(42.4%, 0%, 80.4%, 38%)
CIE-LABlab(58.77, -41.73, 54.62)
CIE-LCHlch(58.77, 68.74, 127.38°)
OKLaboklab(63.06% -0.1172 0.1208)
OKLCHoklch(63.06% 0.168 134.2)
XYZxyz(16.7883, 26.7759, 5.5797)
Luminance0.2678 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9E1F #621F9E
analogous
#9A9E1F #5B9E1F #1F9E23
triadic
#5B9E1F #1F5B9E #9E1F5B
tetradic
#5B9E1F #1F9A9E #621F9E #9E231F
square
#5B9E1F #1F9A9E #621F9E #9E231F
split-complementary
#5B9E1F #231F9E #9E1F9A
monochromatic
#20380B #3E6B15 #5B9E1F #78D129 #98DE59

Accessibility & contrast

On white

3.30
#5B9E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#5B9E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9E1F
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9E1F#FFFFFF#000000##000000
##5B9E1F1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#9B8B2D
Tritanopia (blue-blind)
#5A9887
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b9e1f;
/* rgb */ color: rgb(91, 158, 31);
/* oklch */ color: oklch(63.1% 0.168 134.2);
Tailwind
colors: {
  custom: {
    50: '#90bb66',
    500: '#5b9e1f',
    950: '#000000',
  },
}
SCSS
$custom: #5b9e1f;
$custom-light: #90bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9e1f",
  "rgb": {
    "r": 91,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 91.654,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63061,
    "c": 0.1683,
    "h": 134.2
  },
  "luminance": 0.26777
}

Semantic roles & 50–950 ramp

primary
#5B9E1F
secondary
#8F56C2
accent
#3EEA99
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5B9E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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