#B49717#B49717

#B49717 is a light, vivid yellow. Relative luminance 0.319; OKLCH L 68.3% C 0.135 H 94.5°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#B49717
RGBrgb(180, 151, 23)
HSLhsl(49, 77%, 40%)
HSVhsv(49, 87%, 71%)
CMYKcmyk(0%, 16.1%, 87.2%, 29.4%)
CIE-LABlab(63.26, -1.04, 63.24)
CIE-LCHlch(63.26, 63.25, 90.94°)
OKLaboklab(68.3% -0.0107 0.1345)
OKLCHoklch(68.3% 0.135 94.5)
XYZxyz(30.0454, 31.9002, 5.3853)
Luminance0.3190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49717 #1734B4
analogous
#B44817 #B49717 #83B417
triadic
#B49717 #17B497 #9717B4
tetradic
#B49717 #17B448 #1734B4 #B41783
square
#B49717 #17B448 #1734B4 #B41783
split-complementary
#B49717 #1783B4 #4817B4
monochromatic
#473C09 #7E6910 #B49717 #E3C025 #EAD05B

Accessibility & contrast

On white

2.85
#B49717 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#B49717 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49717
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49717#FFFFFF#000000##000000
##B497171.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#B09D22
Tritanopia (blue-blind)
#C38A81
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b49717;
/* rgb */ color: rgb(180, 151, 23);
/* oklch */ color: oklch(68.3% 0.135 94.5);
Tailwind
colors: {
  custom: {
    50: '#cfb564',
    500: '#b49717',
    950: '#000000',
  },
}
SCSS
$custom: #b49717;
$custom-light: #cfb564;
$custom-dark: #000000;
JSON
{
  "hex": "#b49717",
  "rgb": {
    "r": 180,
    "g": 151,
    "b": 23
  },
  "hsl": {
    "h": 48.917,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.683,
    "c": 0.1349,
    "h": 94.5
  },
  "luminance": 0.31898
}

Semantic roles & 50–950 ramp

primary
#B49717
secondary
#596FCE
accent
#57F434
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151106
muted
#83807A

Preview Lab

Preview with #B49717

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

Preview Lab → · Contrast checker → · Palette generator →

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