#B49015#B49015

#B49015 is a light, vivid yellow. Relative luminance 0.297; OKLCH L 66.8% C 0.132 H 90.1°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#B49015
RGBrgb(180, 144, 21)
HSLhsl(46, 79%, 39%)
HSVhsv(46, 88%, 71%)
CMYKcmyk(0%, 20%, 88.3%, 29.4%)
CIE-LABlab(61.40, 2.73, 62.22)
CIE-LCHlch(61.40, 62.27, 87.49°)
OKLaboklab(66.83% -0.0002 0.1318)
OKLCHoklch(66.83% 0.132 90.1)
XYZxyz(28.9329, 29.7059, 4.9193)
Luminance0.2970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49015 #1539B4
analogous
#B44115 #B49015 #89B415
triadic
#B49015 #15B490 #9015B4
tetradic
#B49015 #15B441 #1539B4 #B41589
square
#B49015 #15B441 #1539B4 #B41589
split-complementary
#B49015 #1589B4 #4115B4
monochromatic
#463808 #7D640F #B49015 #E5B921 #ECCA58

Accessibility & contrast

On white

3.03
#B49015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#B49015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B49015
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49015#FFFFFF#000000##000000
##B490151.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E00
Deuteranopia (green-blind)
#AB981F
Tritanopia (blue-blind)
#C4827B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b49015;
/* rgb */ color: rgb(180, 144, 21);
/* oklch */ color: oklch(66.8% 0.132 90.1);
Tailwind
colors: {
  custom: {
    50: '#cfb062',
    500: '#b49015',
    950: '#000000',
  },
}
SCSS
$custom: #b49015;
$custom-light: #cfb062;
$custom-dark: #000000;
JSON
{
  "hex": "#b49015",
  "rgb": {
    "r": 180,
    "g": 144,
    "b": 21
  },
  "hsl": {
    "h": 46.415,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66829,
    "c": 0.13178,
    "h": 90.1
  },
  "luminance": 0.29704
}

Semantic roles & 50–950 ramp

primary
#B49015
secondary
#5671CF
accent
#5EF632
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B49015

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

Preview Lab → · Contrast checker → · Palette generator →

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