#B49817#B49817

#B49817 is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.5% C 0.136 H 95.2°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#B49817
RGBrgb(180, 152, 23)
HSLhsl(49, 77%, 40%)
HSVhsv(49, 87%, 71%)
CMYKcmyk(0%, 15.6%, 87.2%, 29.4%)
CIE-LABlab(63.53, -1.58, 63.46)
CIE-LCHlch(63.53, 63.48, 91.42°)
OKLaboklab(68.51% -0.0122 0.1349)
OKLCHoklch(68.51% 0.136 95.2)
XYZxyz(30.2071, 32.2234, 5.4391)
Luminance0.3222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49817 #1733B4
analogous
#B44917 #B49817 #82B417
triadic
#B49817 #17B498 #9817B4
tetradic
#B49817 #17B449 #1733B4 #B41782
square
#B49817 #17B449 #1733B4 #B41782
split-complementary
#B49817 #1782B4 #4917B4
monochromatic
#473C09 #7E6A10 #B49817 #E3C125 #EAD15B

Accessibility & contrast

On white

2.82
#B49817 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#B49817 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49817
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49817#FFFFFF#000000##000000
##B498171.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#B09D22
Tritanopia (blue-blind)
#C38B82
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b49817;
/* rgb */ color: rgb(180, 152, 23);
/* oklch */ color: oklch(68.5% 0.136 95.2);
Tailwind
colors: {
  custom: {
    50: '#cfb564',
    500: '#b49817',
    950: '#000000',
  },
}
SCSS
$custom: #b49817;
$custom-light: #cfb564;
$custom-dark: #000000;
JSON
{
  "hex": "#b49817",
  "rgb": {
    "r": 180,
    "g": 152,
    "b": 23
  },
  "hsl": {
    "h": 49.299,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68511,
    "c": 0.1355,
    "h": 95.2
  },
  "luminance": 0.32222
}

Semantic roles & 50–950 ramp

primary
#B49817
secondary
#596ECE
accent
#56F434
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151106
muted
#83807A

Preview Lab

Preview with #B49817

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

Preview Lab → · Contrast checker → · Palette generator →

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