#B49317#B49317

#B49317 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 67.5% C 0.133 H 92.0°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#B49317
RGBrgb(180, 147, 23)
HSLhsl(47, 77%, 40%)
HSVhsv(47, 87%, 71%)
CMYKcmyk(0%, 18.3%, 87.2%, 29.4%)
CIE-LABlab(62.20, 1.14, 62.38)
CIE-LCHlch(62.20, 62.39, 88.96°)
OKLaboklab(67.46% -0.0046 0.1326)
OKLCHoklch(67.46% 0.133 92)
XYZxyz(29.4126, 30.6345, 5.1743)
Luminance0.3063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49317 #1738B4
analogous
#B44517 #B49317 #86B417
triadic
#B49317 #17B493 #9317B4
tetradic
#B49317 #17B445 #1738B4 #B41786
square
#B49317 #17B445 #1738B4 #B41786
split-complementary
#B49317 #1786B4 #4517B4
monochromatic
#473A09 #7E6710 #B49317 #E3BB25 #EACC5B

Accessibility & contrast

On white

2.95
#B49317 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#B49317 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49317
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49317#FFFFFF#000000##000000
##B493171.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#AD9A21
Tritanopia (blue-blind)
#C4867D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b49317;
/* rgb */ color: rgb(180, 147, 23);
/* oklch */ color: oklch(67.5% 0.133 92.0);
Tailwind
colors: {
  custom: {
    50: '#cfb263',
    500: '#b49317',
    950: '#000000',
  },
}
SCSS
$custom: #b49317;
$custom-light: #cfb263;
$custom-dark: #000000;
JSON
{
  "hex": "#b49317",
  "rgb": {
    "r": 180,
    "g": 147,
    "b": 23
  },
  "hsl": {
    "h": 47.389,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67461,
    "c": 0.13263,
    "h": 92
  },
  "luminance": 0.30633
}

Semantic roles & 50–950 ramp

primary
#B49317
secondary
#5972CE
accent
#5CF434
background
#FDFAF6
surface
#FAF5EB
border
#D3CFC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B49317

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

Preview Lab → · Contrast checker → · Palette generator →

#B49317 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva