#B49A17#B49A17

#B49A17 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.9% C 0.137 H 96.4°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#B49A17
RGBrgb(180, 154, 23)
HSLhsl(50, 77%, 40%)
HSVhsv(50, 87%, 71%)
CMYKcmyk(0%, 14.4%, 87.2%, 29.4%)
CIE-LABlab(64.06, -2.65, 63.89)
CIE-LCHlch(64.06, 63.95, 92.38°)
OKLaboklab(68.93% -0.0153 0.1359)
OKLCHoklch(68.93% 0.137 96.4)
XYZxyz(30.5344, 32.8781, 5.5483)
Luminance0.3288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49A17 #1731B4
analogous
#B44C17 #B49A17 #7FB417
triadic
#B49A17 #17B49A #9A17B4
tetradic
#B49A17 #17B44C #1731B4 #B4177F
square
#B49A17 #17B44C #1731B4 #B4177F
split-complementary
#B49A17 #177FB4 #4C17B4
monochromatic
#473D09 #7E6C10 #B49A17 #E3C425 #EAD25B

Accessibility & contrast

On white

2.77
#B49A17 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#B49A17 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49A17
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49A17#FFFFFF#000000##000000
##B49A171.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#B29F23
Tritanopia (blue-blind)
#C38D83
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b49a17;
/* rgb */ color: rgb(180, 154, 23);
/* oklch */ color: oklch(68.9% 0.137 96.4);
Tailwind
colors: {
  custom: {
    50: '#cfb764',
    500: '#b49a17',
    950: '#000000',
  },
}
SCSS
$custom: #b49a17;
$custom-light: #cfb764;
$custom-dark: #000000;
JSON
{
  "hex": "#b49a17",
  "rgb": {
    "r": 180,
    "g": 154,
    "b": 23
  },
  "hsl": {
    "h": 50.064,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68934,
    "c": 0.13676,
    "h": 96.4
  },
  "luminance": 0.32876
}

Semantic roles & 50–950 ramp

primary
#B49A17
secondary
#596CCE
accent
#54F434
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151106
muted
#83807A

Preview Lab

Preview with #B49A17

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

Preview Lab → · Contrast checker → · Palette generator →

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