#5B6315#5B6315

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

Color values

HEX#5B6315
RGBrgb(91, 99, 21)
HSLhsl(66, 65%, 24%)
HSVhsv(66, 79%, 39%)
CMYKcmyk(8.1%, 0%, 78.8%, 61.2%)
CIE-LABlab(39.92, -13.88, 40.32)
CIE-LCHlch(39.92, 42.64, 109.00°)
OKLaboklab(47.73% -0.0422 0.089)
OKLCHoklch(47.73% 0.098 115.4)
XYZxyz(8.9118, 11.2021, 2.4021)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6315 #1D1563
analogous
#634415 #5B6315 #346315
triadic
#5B6315 #155B63 #63155B
tetradic
#5B6315 #156344 #1D1563 #631534
square
#5B6315 #156344 #1D1563 #631534
split-complementary
#5B6315 #153463 #441563
monochromatic
#171905 #2D310A #5B6315 #899520 #B8C82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B6315#FFFFFF#000000##FFFFFF
##5B63151.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)
#6B5E05
Deuteranopia (green-blind)
#6A5F1C
Tritanopia (blue-blind)
#615D54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5b6315;
/* rgb */ color: rgb(91, 99, 21);
/* oklch */ color: oklch(47.7% 0.098 115.4);
Tailwind
colors: {
  custom: {
    50: '#8c8f59',
    500: '#5b6315',
    950: '#000000',
  },
}
SCSS
$custom: #5b6315;
$custom-light: #8c8f59;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6315",
  "rgb": {
    "r": 91,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 66.154,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.4773,
    "c": 0.09846,
    "h": 115.4
  },
  "luminance": 0.11202
}

Semantic roles & 50–950 ramp

primary
#5B6315
secondary
#443A9A
accent
#40E851
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B6315

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

Preview Lab → · Contrast checker → · Palette generator →

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