#5B7011#5B7011

#5B7011 is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 51.0% C 0.117 H 122.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5B7011
RGBrgb(91, 112, 17)
HSLhsl(73, 74%, 25%)
HSVhsv(73, 85%, 44%)
CMYKcmyk(18.7%, 0%, 84.8%, 56.1%)
CIE-LABlab(44.02, -21.03, 45.41)
CIE-LCHlch(44.02, 50.04, 114.85°)
OKLaboklab(51.03% -0.0622 0.099)
OKLCHoklch(51.03% 0.117 122.1)
XYZxyz(10.2099, 13.8529, 2.6662)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7011 #261170
analogous
#705511 #5B7011 #2C7011
triadic
#5B7011 #115B70 #70115B
tetradic
#5B7011 #117055 #261170 #70112C
square
#5B7011 #117055 #261170 #70112C
split-complementary
#5B7011 #112C70 #551170
monochromatic
#161B04 #303B09 #5B7011 #86A519 #B1DA21

Accessibility & contrast

On white

5.57
#5B7011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5B7011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7011
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7011#FFFFFF#000000##FFFFFF
##5B70111.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#75681B
Tritanopia (blue-blind)
#606A5F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5b7011;
/* rgb */ color: rgb(91, 112, 17);
/* oklch */ color: oklch(51.0% 0.117 122.1);
Tailwind
colors: {
  custom: {
    50: '#8d9959',
    500: '#5b7011',
    950: '#000000',
  },
}
SCSS
$custom: #5b7011;
$custom-light: #8d9959;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7011",
  "rgb": {
    "r": 91,
    "g": 112,
    "b": 17
  },
  "hsl": {
    "h": 73.263,
    "s": 73.643,
    "l": 25.294
  },
  "oklch": {
    "l": 0.51028,
    "c": 0.11691,
    "h": 122.1
  },
  "luminance": 0.13853
}

Semantic roles & 50–950 ramp

primary
#5B7011
secondary
#4F35A7
accent
#37F060
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5B7011

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

Preview Lab → · Contrast checker → · Palette generator →

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