#B49315#B49315

#B49315 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 67.5% C 0.133 H 92.1°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#B49315
RGBrgb(180, 147, 21)
HSLhsl(48, 79%, 39%)
HSVhsv(48, 88%, 71%)
CMYKcmyk(0%, 18.3%, 88.3%, 29.4%)
CIE-LABlab(62.19, 1.09, 62.85)
CIE-LCHlch(62.19, 62.86, 89.01°)
OKLaboklab(67.45% -0.0048 0.1332)
OKLCHoklch(67.45% 0.133 92.1)
XYZxyz(29.3933, 30.6268, 5.0727)
Luminance0.3063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49315 #1536B4
analogous
#B44415 #B49315 #86B415
triadic
#B49315 #15B493 #9315B4
tetradic
#B49315 #15B444 #1536B4 #B41586
square
#B49315 #15B444 #1536B4 #B41586
split-complementary
#B49315 #1586B4 #4415B4
monochromatic
#463908 #7D660F #B49315 #E5BC21 #ECCD58

Accessibility & contrast

On white

2.95
#B49315 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#B49315 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49315
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49315#FFFFFF#000000##000000
##B493151.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#AD9A20
Tritanopia (blue-blind)
#C4867D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b49315;
/* rgb */ color: rgb(180, 147, 21);
/* oklch */ color: oklch(67.5% 0.133 92.1);
Tailwind
colors: {
  custom: {
    50: '#cfb263',
    500: '#b49315',
    950: '#000000',
  },
}
SCSS
$custom: #b49315;
$custom-light: #cfb263;
$custom-dark: #000000;
JSON
{
  "hex": "#b49315",
  "rgb": {
    "r": 180,
    "g": 147,
    "b": 21
  },
  "hsl": {
    "h": 47.547,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67454,
    "c": 0.13329,
    "h": 92.1
  },
  "luminance": 0.30625
}

Semantic roles & 50–950 ramp

primary
#B49315
secondary
#566FCF
accent
#5BF632
background
#FDFAF6
surface
#FAF5EB
border
#D3CFC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B49315

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

Preview Lab → · Contrast checker → · Palette generator →

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