#B49917#B49917

#B49917 is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.7% C 0.136 H 95.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#B49917
RGBrgb(180, 153, 23)
HSLhsl(50, 77%, 40%)
HSVhsv(50, 87%, 71%)
CMYKcmyk(0%, 15%, 87.2%, 29.4%)
CIE-LABlab(63.79, -2.12, 63.67)
CIE-LCHlch(63.79, 63.71, 91.90°)
OKLaboklab(68.72% -0.0137 0.1354)
OKLCHoklch(68.72% 0.136 95.8)
XYZxyz(30.3700, 32.5494, 5.4935)
Luminance0.3255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49917 #1732B4
analogous
#B44B17 #B49917 #80B417
triadic
#B49917 #17B499 #9917B4
tetradic
#B49917 #17B44B #1732B4 #B41780
square
#B49917 #17B44B #1732B4 #B41780
split-complementary
#B49917 #1780B4 #4B17B4
monochromatic
#473D09 #7E6B10 #B49917 #E3C225 #EAD25B

Accessibility & contrast

On white

2.80
#B49917 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#B49917 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49917
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49917#FFFFFF#000000##000000
##B499171.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#B19E23
Tritanopia (blue-blind)
#C38C82
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b49917;
/* rgb */ color: rgb(180, 153, 23);
/* oklch */ color: oklch(68.7% 0.136 95.8);
Tailwind
colors: {
  custom: {
    50: '#cfb664',
    500: '#b49917',
    950: '#000000',
  },
}
SCSS
$custom: #b49917;
$custom-light: #cfb664;
$custom-dark: #000000;
JSON
{
  "hex": "#b49917",
  "rgb": {
    "r": 180,
    "g": 153,
    "b": 23
  },
  "hsl": {
    "h": 49.682,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68722,
    "c": 0.13613,
    "h": 95.8
  },
  "luminance": 0.32548
}

Semantic roles & 50–950 ramp

primary
#B49917
secondary
#596DCE
accent
#55F434
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151106
muted
#83807A

Preview Lab

Preview with #B49917

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

Preview Lab → · Contrast checker → · Palette generator →

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