#5B6911#5B6911

#5B6911 is a mid, moderate yellow. Relative luminance 0.124; OKLCH L 49.2% C 0.108 H 118.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5B6911
RGBrgb(91, 105, 17)
HSLhsl(70, 72%, 24%)
HSVhsv(70, 84%, 41%)
CMYKcmyk(13.3%, 0%, 83.8%, 58.8%)
CIE-LABlab(41.79, -17.34, 43.42)
CIE-LCHlch(41.79, 46.76, 111.77°)
OKLaboklab(49.23% -0.0521 0.0948)
OKLCHoklch(49.23% 0.108 118.8)
XYZxyz(9.4674, 12.3678, 2.4187)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6911 #1F1169
analogous
#694B11 #5B6911 #2F6911
triadic
#5B6911 #115B69 #69115B
tetradic
#5B6911 #11694B #1F1169 #69112F
square
#5B6911 #11694B #1F1169 #69112F
split-complementary
#5B6911 #112F69 #4B1169
monochromatic
#171A04 #2D3408 #5B6911 #899E1A #B6D222

Accessibility & contrast

On white

6.05
#5B6911 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5B6911 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6911
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6911#FFFFFF#000000##FFFFFF
##5B69111.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706300
Deuteranopia (green-blind)
#6F631A
Tritanopia (blue-blind)
#616359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5b6911;
/* rgb */ color: rgb(91, 105, 17);
/* oklch */ color: oklch(49.2% 0.108 118.8);
Tailwind
colors: {
  custom: {
    50: '#8c9358',
    500: '#5b6911',
    950: '#000000',
  },
}
SCSS
$custom: #5b6911;
$custom-light: #8c9358;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6911",
  "rgb": {
    "r": 91,
    "g": 105,
    "b": 17
  },
  "hsl": {
    "h": 69.545,
    "s": 72.131,
    "l": 23.922
  },
  "oklch": {
    "l": 0.49232,
    "c": 0.10815,
    "h": 118.8
  },
  "luminance": 0.12368
}

Semantic roles & 50–950 ramp

primary
#5B6911
secondary
#4635A1
accent
#39EF56
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5B6911

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

Preview Lab → · Contrast checker → · Palette generator →

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