#5B6C10#5B6C10

#5B6C10 is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 50.0% C 0.112 H 120.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5B6C10
RGBrgb(91, 108, 16)
HSLhsl(71, 74%, 24%)
HSVhsv(71, 85%, 42%)
CMYKcmyk(15.7%, 0%, 85.2%, 57.6%)
CIE-LABlab(42.74, -18.98, 44.57)
CIE-LCHlch(42.74, 48.45, 113.06°)
OKLaboklab(50% -0.0567 0.097)
OKLCHoklch(50% 0.112 120.3)
XYZxyz(9.7707, 12.9867, 2.4821)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6C10 #21106C
analogous
#6C4F10 #5B6C10 #2D6C10
triadic
#5B6C10 #105B6C #6C105B
tetradic
#5B6C10 #106C4F #21106C #6C102D
square
#5B6C10 #106C4F #21106C #6C102D
split-complementary
#5B6C10 #102D6C #4F106C
monochromatic
#161B04 #2E3708 #5B6C10 #88A118 #B5D720

Accessibility & contrast

On white

5.84
#5B6C10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5B6C10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6C10
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6C10#FFFFFF#000000##FFFFFF
##5B6C101.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#71651A
Tritanopia (blue-blind)
#61665B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b6c10;
/* rgb */ color: rgb(91, 108, 16);
/* oklch */ color: oklch(50.0% 0.112 120.3);
Tailwind
colors: {
  custom: {
    50: '#8d9658',
    500: '#5b6c10',
    950: '#000000',
  },
}
SCSS
$custom: #5b6c10;
$custom-light: #8d9658;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6c10",
  "rgb": {
    "r": 91,
    "g": 108,
    "b": 16
  },
  "hsl": {
    "h": 71.087,
    "s": 74.194,
    "l": 24.314
  },
  "oklch": {
    "l": 0.49995,
    "c": 0.11236,
    "h": 120.3
  },
  "luminance": 0.12987
}

Semantic roles & 50–950 ramp

primary
#5B6C10
secondary
#4934A4
accent
#37F159
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5B6C10

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

Preview Lab → · Contrast checker → · Palette generator →

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