#5B6F10#5B6F10

#5B6F10 is a mid, moderate yellow-green. Relative luminance 0.136; OKLCH L 50.8% C 0.116 H 121.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5B6F10
RGBrgb(91, 111, 16)
HSLhsl(73, 75%, 25%)
HSVhsv(73, 86%, 44%)
CMYKcmyk(18%, 0%, 85.6%, 56.5%)
CIE-LABlab(43.70, -20.55, 45.41)
CIE-LCHlch(43.70, 49.85, 114.35°)
OKLaboklab(50.77% -0.061 0.0988)
OKLCHoklch(50.77% 0.116 121.7)
XYZxyz(10.0925, 13.6304, 2.5894)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6F10 #24106F
analogous
#6F5410 #5B6F10 #2B6F10
triadic
#5B6F10 #105B6F #6F105B
tetradic
#5B6F10 #106F54 #24106F #6F102B
square
#5B6F10 #106F54 #24106F #6F102B
split-complementary
#5B6F10 #102B6F #54106F
monochromatic
#161B04 #2F3A08 #5B6F10 #87A418 #B3DA1F

Accessibility & contrast

On white

5.64
#5B6F10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5B6F10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6F10
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6F10#FFFFFF#000000##FFFFFF
##5B6F101.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#74671A
Tritanopia (blue-blind)
#60695E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5b6f10;
/* rgb */ color: rgb(91, 111, 16);
/* oklch */ color: oklch(50.8% 0.116 121.7);
Tailwind
colors: {
  custom: {
    50: '#8d9859',
    500: '#5b6f10',
    950: '#000000',
  },
}
SCSS
$custom: #5b6f10;
$custom-light: #8d9859;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6f10",
  "rgb": {
    "r": 91,
    "g": 111,
    "b": 16
  },
  "hsl": {
    "h": 72.632,
    "s": 74.803,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50766,
    "c": 0.11612,
    "h": 121.7
  },
  "luminance": 0.1363
}

Semantic roles & 50–950 ramp

primary
#5B6F10
secondary
#4C34A7
accent
#36F15E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5B6F10

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

Preview Lab → · Contrast checker → · Palette generator →

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