#5B6B15#5B6B15

#5B6B15 is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.8% C 0.108 H 120.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5B6B15
RGBrgb(91, 107, 21)
HSLhsl(71, 67%, 25%)
HSVhsv(71, 80%, 42%)
CMYKcmyk(15%, 0%, 80.4%, 58%)
CIE-LABlab(42.45, -18.22, 42.69)
CIE-LCHlch(42.45, 46.42, 113.12°)
OKLaboklab(49.77% -0.0542 0.094)
OKLCHoklch(49.77% 0.108 120)
XYZxyz(9.7076, 12.7937, 2.6673)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6B15 #25156B
analogous
#6B5015 #5B6B15 #306B15
triadic
#5B6B15 #155B6B #6B155B
tetradic
#5B6B15 #156B50 #25156B #6B1530
square
#5B6B15 #156B50 #25156B #6B1530
split-complementary
#5B6B15 #15306B #50156B
monochromatic
#161A05 #2F380B #5B6B15 #879E1F #B2D129

Accessibility & contrast

On white

5.90
#5B6B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5B6B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6B15
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6B15#FFFFFF#000000##FFFFFF
##5B6B151.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726401
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#61655B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b6b15;
/* rgb */ color: rgb(91, 107, 21);
/* oklch */ color: oklch(49.8% 0.108 120.0);
Tailwind
colors: {
  custom: {
    50: '#8c955a',
    500: '#5b6b15',
    950: '#000000',
  },
}
SCSS
$custom: #5b6b15;
$custom-light: #8c955a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6b15",
  "rgb": {
    "r": 91,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 71.163,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49767,
    "c": 0.10848,
    "h": 120
  },
  "luminance": 0.12794
}

Semantic roles & 50–950 ramp

primary
#5B6B15
secondary
#4D3AA2
accent
#3EEA5E
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5B6B15

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

Preview Lab → · Contrast checker → · Palette generator →

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