#5B911F#5B911F

#5B911F is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.7% C 0.152 H 132.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5B911F
RGBrgb(91, 145, 31)
HSLhsl(88, 65%, 35%)
HSVhsv(88, 79%, 57%)
CMYKcmyk(37.2%, 0%, 78.6%, 43.1%)
CIE-LABlab(54.63, -36.13, 50.74)
CIE-LCHlch(54.63, 62.29, 125.46°)
OKLaboklab(59.68% -0.1021 0.1126)
OKLCHoklch(59.68% 0.152 132.2)
XYZxyz(14.6869, 22.5732, 4.8793)
Luminance0.2257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B911F #551F91
analogous
#918E1F #5B911F #22911F
triadic
#5B911F #1F5B91 #911F5B
tetradic
#5B911F #1F918E #551F91 #911F22
square
#5B911F #1F918E #551F91 #911F22
split-complementary
#5B911F #1F2291 #8E1F91
monochromatic
#1C2C09 #3B5F14 #5B911F #7BC32A #99DA51

Accessibility & contrast

On white

3.81
#5B911F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#5B911F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B911F
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B911F#FFFFFF#000000##000000
##5B911F1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#90812B
Tritanopia (blue-blind)
#5C8B7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5b911f;
/* rgb */ color: rgb(91, 145, 31);
/* oklch */ color: oklch(59.7% 0.152 132.2);
Tailwind
colors: {
  custom: {
    50: '#8eb164',
    500: '#5b911f',
    950: '#000000',
  },
}
SCSS
$custom: #5b911f;
$custom-light: #8eb164;
$custom-dark: #000000;
JSON
{
  "hex": "#5b911f",
  "rgb": {
    "r": 91,
    "g": 145,
    "b": 31
  },
  "hsl": {
    "h": 88.421,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59676,
    "c": 0.15203,
    "h": 132.2
  },
  "luminance": 0.22574
}

Semantic roles & 50–950 ramp

primary
#5B911F
secondary
#834FBD
accent
#40E88F
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B911F

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

Preview Lab → · Contrast checker → · Palette generator →

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