#B49417#B49417

#B49417 is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.7% C 0.133 H 92.6°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#B49417
RGBrgb(180, 148, 23)
HSLhsl(48, 77%, 40%)
HSVhsv(48, 87%, 71%)
CMYKcmyk(0%, 17.8%, 87.2%, 29.4%)
CIE-LABlab(62.46, 0.59, 62.60)
CIE-LCHlch(62.46, 62.60, 89.46°)
OKLaboklab(67.67% -0.0061 0.133)
OKLCHoklch(67.67% 0.133 92.6)
XYZxyz(29.5688, 30.9469, 5.2264)
Luminance0.3095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49417 #1737B4
analogous
#B44617 #B49417 #85B417
triadic
#B49417 #17B494 #9417B4
tetradic
#B49417 #17B446 #1737B4 #B41785
square
#B49417 #17B446 #1737B4 #B41785
split-complementary
#B49417 #1785B4 #4617B4
monochromatic
#473B09 #7E6710 #B49417 #E3BC25 #EACD5B

Accessibility & contrast

On white

2.92
#B49417 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#B49417 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49417
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49417#FFFFFF#000000##000000
##B494171.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#AD9B22
Tritanopia (blue-blind)
#C3877E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b49417;
/* rgb */ color: rgb(180, 148, 23);
/* oklch */ color: oklch(67.7% 0.133 92.6);
Tailwind
colors: {
  custom: {
    50: '#cfb364',
    500: '#b49417',
    950: '#000000',
  },
}
SCSS
$custom: #b49417;
$custom-light: #cfb364;
$custom-dark: #000000;
JSON
{
  "hex": "#b49417",
  "rgb": {
    "r": 180,
    "g": 148,
    "b": 23
  },
  "hsl": {
    "h": 47.771,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6767,
    "c": 0.13317,
    "h": 92.6
  },
  "luminance": 0.30945
}

Semantic roles & 50–950 ramp

primary
#B49417
secondary
#5971CE
accent
#5BF434
background
#FDFAF6
surface
#FAF5EB
border
#D3CFC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B49417

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

Preview Lab → · Contrast checker → · Palette generator →

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