#5B7E11#5B7E11

#5B7E11 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.7% C 0.135 H 127.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5B7E11
RGBrgb(91, 126, 17)
HSLhsl(79, 76%, 28%)
HSVhsv(79, 87%, 49%)
CMYKcmyk(27.8%, 0%, 86.5%, 50.6%)
CIE-LABlab(48.49, -28.02, 49.34)
CIE-LCHlch(48.49, 56.74, 119.59°)
OKLaboklab(54.65% -0.0812 0.1074)
OKLCHoklch(54.65% 0.135 127.1)
XYZxyz(11.8765, 17.1861, 3.2217)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7E11 #34117E
analogous
#7E6A11 #5B7E11 #247E11
triadic
#5B7E11 #115B7E #7E115B
tetradic
#5B7E11 #117E6A #34117E #7E1124
square
#5B7E11 #117E6A #34117E #7E1124
split-complementary
#5B7E11 #11247E #6A117E
monochromatic
#131B04 #34480A #5B7E11 #82B418 #A6E227

Accessibility & contrast

On white

4.73
#5B7E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#5B7E11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7E11
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7E11#FFFFFF#000000##FFFFFF
##5B7E111.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#80731E
Tritanopia (blue-blind)
#5F786B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5b7e11;
/* rgb */ color: rgb(91, 126, 17);
/* oklch */ color: oklch(54.7% 0.135 127.1);
Tailwind
colors: {
  custom: {
    50: '#8da35c',
    500: '#5b7e11',
    950: '#000000',
  },
}
SCSS
$custom: #5b7e11;
$custom-light: #8da35c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7e11",
  "rgb": {
    "r": 91,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 79.266,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54653,
    "c": 0.1346,
    "h": 127.1
  },
  "luminance": 0.17186
}

Semantic roles & 50–950 ramp

primary
#5B7E11
secondary
#5F37B4
accent
#35F372
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F04
muted
#7E7F79

Preview Lab

Preview with #5B7E11

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

Preview Lab → · Contrast checker → · Palette generator →

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