#5B6E11#5B6E11

#5B6E11 is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.5% C 0.114 H 121.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5B6E11
RGBrgb(91, 110, 17)
HSLhsl(72, 73%, 25%)
HSVhsv(72, 85%, 43%)
CMYKcmyk(17.3%, 0%, 84.5%, 56.9%)
CIE-LABlab(43.38, -19.99, 44.84)
CIE-LCHlch(43.38, 49.10, 114.03°)
OKLaboklab(50.51% -0.0594 0.0978)
OKLCHoklch(50.51% 0.114 121.3)
XYZxyz(9.9917, 13.4165, 2.5935)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6E11 #24116E
analogous
#6E5211 #5B6E11 #2D6E11
triadic
#5B6E11 #115B6E #6E115B
tetradic
#5B6E11 #116E52 #24116E #6E112D
square
#5B6E11 #116E52 #24116E #6E112D
split-complementary
#5B6E11 #112D6E #52116E
monochromatic
#161B04 #2F3909 #5B6E11 #87A319 #B3D821

Accessibility & contrast

On white

5.70
#5B6E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5B6E11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6E11
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6E11#FFFFFF#000000##FFFFFF
##5B6E111.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#73671B
Tritanopia (blue-blind)
#61685D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5b6e11;
/* rgb */ color: rgb(91, 110, 17);
/* oklch */ color: oklch(50.5% 0.114 121.3);
Tailwind
colors: {
  custom: {
    50: '#8d9759',
    500: '#5b6e11',
    950: '#000000',
  },
}
SCSS
$custom: #5b6e11;
$custom-light: #8d9759;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6e11",
  "rgb": {
    "r": 91,
    "g": 110,
    "b": 17
  },
  "hsl": {
    "h": 72.258,
    "s": 73.228,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50514,
    "c": 0.11439,
    "h": 121.3
  },
  "luminance": 0.13416
}

Semantic roles & 50–950 ramp

primary
#5B6E11
secondary
#4C35A5
accent
#38F05D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5B6E11

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

Preview Lab → · Contrast checker → · Palette generator →

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