#5B6916#5B6916

#5B6916 is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 49.3% C 0.105 H 119.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5B6916
RGBrgb(91, 105, 22)
HSLhsl(70, 65%, 25%)
HSVhsv(70, 79%, 41%)
CMYKcmyk(13.3%, 0%, 79%, 58.8%)
CIE-LABlab(41.82, -17.10, 41.74)
CIE-LCHlch(41.82, 45.11, 112.28°)
OKLaboklab(49.26% -0.051 0.0922)
OKLCHoklch(49.26% 0.105 119)
XYZxyz(9.5110, 12.3853, 2.6485)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6916 #241669
analogous
#694D16 #5B6916 #326916
triadic
#5B6916 #165B69 #69165B
tetradic
#5B6916 #16694D #241669 #691632
square
#5B6916 #16694D #241669 #691632
split-complementary
#5B6916 #163269 #4D1669
monochromatic
#161905 #2F360B #5B6916 #879C21 #B3CE2B

Accessibility & contrast

On white

6.04
#5B6916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5B6916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6916
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6916#FFFFFF#000000##FFFFFF
##5B69161.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b6916;
/* rgb */ color: rgb(91, 105, 22);
/* oklch */ color: oklch(49.3% 0.105 119.0);
Tailwind
colors: {
  custom: {
    50: '#8c935b',
    500: '#5b6916',
    950: '#000000',
  },
}
SCSS
$custom: #5b6916;
$custom-light: #8c935b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6916",
  "rgb": {
    "r": 91,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 70.12,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.49262,
    "c": 0.10534,
    "h": 119
  },
  "luminance": 0.12385
}

Semantic roles & 50–950 ramp

primary
#5B6916
secondary
#4C3B9F
accent
#3FE85C
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5B6916

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

Preview Lab → · Contrast checker → · Palette generator →

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