#5B6412#5B6412

#5B6412 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.0% C 0.101 H 116.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5B6412
RGBrgb(91, 100, 18)
HSLhsl(67, 69%, 23%)
HSVhsv(67, 82%, 39%)
CMYKcmyk(9%, 0%, 82%, 60.8%)
CIE-LABlab(40.22, -14.58, 41.67)
CIE-LCHlch(40.22, 44.15, 109.28°)
OKLaboklab(47.96% -0.0444 0.0912)
OKLCHoklch(47.96% 0.101 116)
XYZxyz(8.9810, 11.3823, 2.2960)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6412 #1B1264
analogous
#644412 #5B6412 #326412
triadic
#5B6412 #125B64 #64125B
tetradic
#5B6412 #126444 #1B1264 #641232
square
#5B6412 #126444 #1B1264 #641232
split-complementary
#5B6412 #123264 #441264
monochromatic
#181A05 #2C3009 #5B6412 #8A981B #B9CC25

Accessibility & contrast

On white

6.41
#5B6412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5B6412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6412
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6412#FFFFFF#000000##FFFFFF
##5B64121.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#6B5F1A
Tritanopia (blue-blind)
#615E55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5b6412;
/* rgb */ color: rgb(91, 100, 18);
/* oklch */ color: oklch(48.0% 0.101 116.0);
Tailwind
colors: {
  custom: {
    50: '#8c9058',
    500: '#5b6412',
    950: '#000000',
  },
}
SCSS
$custom: #5b6412;
$custom-light: #8c9058;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6412",
  "rgb": {
    "r": 91,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 66.585,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.47964,
    "c": 0.10146,
    "h": 116
  },
  "luminance": 0.11382
}

Semantic roles & 50–950 ramp

primary
#5B6412
secondary
#41369C
accent
#3BEC4F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B6412

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

Preview Lab → · Contrast checker → · Palette generator →

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