#5B6910#5B6910

#5B6910 is a mid, moderate yellow. Relative luminance 0.124; OKLCH L 49.2% C 0.109 H 118.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5B6910
RGBrgb(91, 105, 16)
HSLhsl(69, 74%, 24%)
HSVhsv(69, 85%, 41%)
CMYKcmyk(13.3%, 0%, 84.8%, 58.8%)
CIE-LABlab(41.79, -17.38, 43.73)
CIE-LCHlch(41.79, 47.06, 111.68°)
OKLaboklab(49.23% -0.0523 0.0952)
OKLCHoklch(49.23% 0.109 118.8)
XYZxyz(9.4597, 12.3648, 2.3784)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6910 #1E1069
analogous
#694A10 #5B6910 #2E6910
triadic
#5B6910 #105B69 #69105B
tetradic
#5B6910 #10694A #1E1069 #69102E
square
#5B6910 #10694A #1E1069 #69102E
split-complementary
#5B6910 #102E69 #4A1069
monochromatic
#171B04 #2D3408 #5B6910 #899E18 #B7D320

Accessibility & contrast

On white

6.05
#5B6910 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5B6910 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6910
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6910#FFFFFF#000000##FFFFFF
##5B69101.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b6910;
/* rgb */ color: rgb(91, 105, 16);
/* oklch */ color: oklch(49.2% 0.109 118.8);
Tailwind
colors: {
  custom: {
    50: '#8c9358',
    500: '#5b6910',
    950: '#000000',
  },
}
SCSS
$custom: #5b6910;
$custom-light: #8c9358;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6910",
  "rgb": {
    "r": 91,
    "g": 105,
    "b": 16
  },
  "hsl": {
    "h": 69.438,
    "s": 73.554,
    "l": 23.725
  },
  "oklch": {
    "l": 0.49227,
    "c": 0.10865,
    "h": 118.8
  },
  "luminance": 0.12365
}

Semantic roles & 50–950 ramp

primary
#5B6910
secondary
#4534A1
accent
#38F055
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5B6910

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

Preview Lab → · Contrast checker → · Palette generator →

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