#5B6F11#5B6F11

#5B6F11 is a mid, moderate yellow-green. Relative luminance 0.136; OKLCH L 50.8% C 0.116 H 121.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5B6F11
RGBrgb(91, 111, 17)
HSLhsl(73, 73%, 25%)
HSVhsv(73, 85%, 44%)
CMYKcmyk(18%, 0%, 84.7%, 56.5%)
CIE-LABlab(43.70, -20.51, 45.13)
CIE-LCHlch(43.70, 49.57, 114.44°)
OKLaboklab(50.77% -0.0608 0.0984)
OKLCHoklch(50.77% 0.116 121.7)
XYZxyz(10.1002, 13.6335, 2.6296)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6F11 #25116F
analogous
#6F5411 #5B6F11 #2C6F11
triadic
#5B6F11 #115B6F #6F115B
tetradic
#5B6F11 #116F54 #25116F #6F112C
square
#5B6F11 #116F54 #25116F #6F112C
split-complementary
#5B6F11 #112C6F #54116F
monochromatic
#161B04 #2F3A09 #5B6F11 #87A419 #B2D921

Accessibility & contrast

On white

5.64
#5B6F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5B6F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6F11
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6F11#FFFFFF#000000##FFFFFF
##5B6F111.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#74671B
Tritanopia (blue-blind)
#60695E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5b6f11;
/* rgb */ color: rgb(91, 111, 17);
/* oklch */ color: oklch(50.8% 0.116 121.7);
Tailwind
colors: {
  custom: {
    50: '#8d9859',
    500: '#5b6f11',
    950: '#000000',
  },
}
SCSS
$custom: #5b6f11;
$custom-light: #8d9859;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6f11",
  "rgb": {
    "r": 91,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 72.766,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50771,
    "c": 0.11565,
    "h": 121.7
  },
  "luminance": 0.13633
}

Semantic roles & 50–950 ramp

primary
#5B6F11
secondary
#4D35A6
accent
#38F05F
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5B6F11

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

Preview Lab → · Contrast checker → · Palette generator →

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