#B49517#B49517

#B49517 is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.9% C 0.134 H 93.3°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#B49517
RGBrgb(180, 149, 23)
HSLhsl(48, 77%, 40%)
HSVhsv(48, 87%, 71%)
CMYKcmyk(0%, 17.2%, 87.2%, 29.4%)
CIE-LABlab(62.73, 0.05, 62.81)
CIE-LCHlch(62.73, 62.81, 89.96°)
OKLaboklab(67.88% -0.0076 0.1335)
OKLCHoklch(67.88% 0.134 93.3)
XYZxyz(29.7263, 31.2619, 5.2789)
Luminance0.3126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49517 #1736B4
analogous
#B44717 #B49517 #84B417
triadic
#B49517 #17B495 #9517B4
tetradic
#B49517 #17B447 #1736B4 #B41784
square
#B49517 #17B447 #1736B4 #B41784
split-complementary
#B49517 #1784B4 #4717B4
monochromatic
#473B09 #7E6810 #B49517 #E3BE25 #EACE5B

Accessibility & contrast

On white

2.90
#B49517 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#B49517 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49517
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49517#FFFFFF#000000##000000
##B495171.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79200
Deuteranopia (green-blind)
#AE9C22
Tritanopia (blue-blind)
#C3887F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b49517;
/* rgb */ color: rgb(180, 149, 23);
/* oklch */ color: oklch(67.9% 0.134 93.3);
Tailwind
colors: {
  custom: {
    50: '#cfb364',
    500: '#b49517',
    950: '#000000',
  },
}
SCSS
$custom: #b49517;
$custom-light: #cfb364;
$custom-dark: #000000;
JSON
{
  "hex": "#b49517",
  "rgb": {
    "r": 180,
    "g": 149,
    "b": 23
  },
  "hsl": {
    "h": 48.153,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6788,
    "c": 0.13373,
    "h": 93.3
  },
  "luminance": 0.3126
}

Semantic roles & 50–950 ramp

primary
#B49517
secondary
#5970CE
accent
#5AF434
background
#FDFAF6
surface
#FAF5EB
border
#D3CFC6
text
#151106
muted
#83807A

Preview Lab

Preview with #B49517

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

Preview Lab → · Contrast checker → · Palette generator →

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