#5B6918#5B6918

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

Color values

HEX#5B6918
RGBrgb(91, 105, 24)
HSLhsl(70, 63%, 25%)
HSVhsv(70, 77%, 41%)
CMYKcmyk(13.3%, 0%, 77.1%, 58.8%)
CIE-LABlab(41.83, -16.99, 41.01)
CIE-LCHlch(41.83, 44.39, 112.51°)
OKLaboklab(49.28% -0.0505 0.091)
OKLCHoklch(49.28% 0.104 119.1)
XYZxyz(9.5310, 12.3933, 2.7540)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6918 #261869
analogous
#694E18 #5B6918 #336918
triadic
#5B6918 #185B69 #69185B
tetradic
#5B6918 #18694E #261869 #691833
square
#5B6918 #18694E #261869 #691833
split-complementary
#5B6918 #183369 #4E1869
monochromatic
#161906 #30370D #5B6918 #869B23 #B1CD2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B6918#FFFFFF#000000##FFFFFF
##5B69181.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)
#706308
Deuteranopia (green-blind)
#6F631F
Tritanopia (blue-blind)
#616359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5b6918;
/* rgb */ color: rgb(91, 105, 24);
/* oklch */ color: oklch(49.3% 0.104 119.1);
Tailwind
colors: {
  custom: {
    50: '#8c935c',
    500: '#5b6918',
    950: '#000000',
  },
}
SCSS
$custom: #5b6918;
$custom-light: #8c935c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6918",
  "rgb": {
    "r": 91,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 70.37,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49276,
    "c": 0.10407,
    "h": 119.1
  },
  "luminance": 0.12393
}

Semantic roles & 50–950 ramp

primary
#5B6918
secondary
#4F3E9F
accent
#42E65E
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5B6918

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

Preview Lab → · Contrast checker → · Palette generator →

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