#B49215#B49215

#B49215 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 67.2% C 0.133 H 91.4°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B49215
RGBrgb(180, 146, 21)
HSLhsl(47, 79%, 39%)
HSVhsv(47, 88%, 71%)
CMYKcmyk(0%, 18.9%, 88.3%, 29.4%)
CIE-LABlab(61.93, 1.64, 62.64)
CIE-LCHlch(61.93, 62.66, 88.50°)
OKLaboklab(67.25% -0.0033 0.1327)
OKLCHoklch(67.25% 0.133 91.4)
XYZxyz(29.2385, 30.3171, 5.0211)
Luminance0.3031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49215 #1537B4
analogous
#B44315 #B49215 #87B415
triadic
#B49215 #15B492 #9215B4
tetradic
#B49215 #15B443 #1537B4 #B41587
square
#B49215 #15B443 #1537B4 #B41587
split-complementary
#B49215 #1587B4 #4315B4
monochromatic
#463908 #7D660F #B49215 #E5BB21 #ECCC58

Accessibility & contrast

On white

2.97
#B49215 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#B49215 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49215
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49215#FFFFFF#000000##000000
##B492151.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#AC9A20
Tritanopia (blue-blind)
#C4857C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b49215;
/* rgb */ color: rgb(180, 146, 21);
/* oklch */ color: oklch(67.2% 0.133 91.4);
Tailwind
colors: {
  custom: {
    50: '#cfb163',
    500: '#b49215',
    950: '#000000',
  },
}
SCSS
$custom: #b49215;
$custom-light: #cfb163;
$custom-dark: #000000;
JSON
{
  "hex": "#b49215",
  "rgb": {
    "r": 180,
    "g": 146,
    "b": 21
  },
  "hsl": {
    "h": 47.17,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67245,
    "c": 0.13276,
    "h": 91.4
  },
  "luminance": 0.30315
}

Semantic roles & 50–950 ramp

primary
#B49215
secondary
#5670CF
accent
#5CF632
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B49215

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

Preview Lab → · Contrast checker → · Palette generator →

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