#5B6314#5B6314

#5B6314 is a mid, moderate yellow. Relative luminance 0.112; OKLCH L 47.7% C 0.099 H 115.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5B6314
RGBrgb(91, 99, 20)
HSLhsl(66, 66%, 23%)
HSVhsv(66, 80%, 39%)
CMYKcmyk(8.1%, 0%, 79.8%, 61.2%)
CIE-LABlab(39.91, -13.93, 40.68)
CIE-LCHlch(39.91, 43.00, 108.90°)
OKLaboklab(47.72% -0.0425 0.0895)
OKLCHoklch(47.72% 0.099 115.4)
XYZxyz(8.9027, 11.1985, 2.3542)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6314 #1C1463
analogous
#634314 #5B6314 #336314
triadic
#5B6314 #145B63 #63145B
tetradic
#5B6314 #146343 #1C1463 #631433
square
#5B6314 #146343 #1C1463 #631433
split-complementary
#5B6314 #143363 #431463
monochromatic
#171905 #2C300A #5B6314 #8A961E #B9C929

Accessibility & contrast

On white

6.48
#5B6314 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5B6314 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6314
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6314#FFFFFF#000000##FFFFFF
##5B63141.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E03
Deuteranopia (green-blind)
#6A5F1B
Tritanopia (blue-blind)
#615D54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5b6314;
/* rgb */ color: rgb(91, 99, 20);
/* oklch */ color: oklch(47.7% 0.099 115.4);
Tailwind
colors: {
  custom: {
    50: '#8c8f59',
    500: '#5b6314',
    950: '#000000',
  },
}
SCSS
$custom: #5b6314;
$custom-light: #8c8f59;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6314",
  "rgb": {
    "r": 91,
    "g": 99,
    "b": 20
  },
  "hsl": {
    "h": 66.076,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.47724,
    "c": 0.09908,
    "h": 115.4
  },
  "luminance": 0.11198
}

Semantic roles & 50–950 ramp

primary
#5B6314
secondary
#42389A
accent
#3EE950
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B6314

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

Preview Lab → · Contrast checker → · Palette generator →

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