#B49915#B49915

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

Color values

HEX#B49915
RGBrgb(180, 153, 21)
HSLhsl(50, 79%, 39%)
HSVhsv(50, 88%, 71%)
CMYKcmyk(0%, 15%, 88.3%, 29.4%)
CIE-LABlab(63.79, -2.16, 64.12)
CIE-LCHlch(63.79, 64.16, 91.93°)
OKLaboklab(68.72% -0.014 0.1361)
OKLCHoklch(68.72% 0.137 95.9)
XYZxyz(30.3507, 32.5417, 5.3919)
Luminance0.3254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49915 #1530B4
analogous
#B44915 #B49915 #80B415
triadic
#B49915 #15B499 #9915B4
tetradic
#B49915 #15B449 #1530B4 #B41580
square
#B49915 #15B449 #1530B4 #B41580
split-complementary
#B49915 #1580B4 #4915B4
monochromatic
#463C08 #7D6A0F #B49915 #E5C421 #ECD258

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B49915#FFFFFF#000000##000000
##B499151.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)
#B19E21
Tritanopia (blue-blind)
#C38C82
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b49915;
/* rgb */ color: rgb(180, 153, 21);
/* oklch */ color: oklch(68.7% 0.137 95.9);
Tailwind
colors: {
  custom: {
    50: '#cfb664',
    500: '#b49915',
    950: '#000000',
  },
}
SCSS
$custom: #b49915;
$custom-light: #cfb664;
$custom-dark: #000000;
JSON
{
  "hex": "#b49915",
  "rgb": {
    "r": 180,
    "g": 153,
    "b": 21
  },
  "hsl": {
    "h": 49.811,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68715,
    "c": 0.13677,
    "h": 95.9
  },
  "luminance": 0.3254
}

Semantic roles & 50–950 ramp

primary
#B49915
secondary
#566BCF
accent
#53F632
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151106
muted
#83807A

Preview Lab

Preview with #B49915

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

Preview Lab → · Contrast checker → · Palette generator →

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