#B49117#B49117

#B49117 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 67.0% C 0.132 H 90.6°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#B49117
RGBrgb(180, 145, 23)
HSLhsl(47, 77%, 40%)
HSVhsv(47, 87%, 71%)
CMYKcmyk(0%, 19.4%, 87.2%, 29.4%)
CIE-LABlab(61.67, 2.23, 61.95)
CIE-LCHlch(61.67, 61.99, 87.94°)
OKLaboklab(67.04% -0.0015 0.1316)
OKLCHoklch(67.04% 0.132 90.6)
XYZxyz(29.1043, 30.0179, 5.0716)
Luminance0.3002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49117 #173AB4
analogous
#B44217 #B49117 #89B417
triadic
#B49117 #17B491 #9117B4
tetradic
#B49117 #17B442 #173AB4 #B41789
square
#B49117 #17B442 #173AB4 #B41789
split-complementary
#B49117 #1789B4 #4217B4
monochromatic
#473A09 #7E6510 #B49117 #E3B925 #EACA5B

Accessibility & contrast

On white

3.00
#B49117 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#B49117 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49117
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49117#FFFFFF#000000##000000
##B491171.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#AB9921
Tritanopia (blue-blind)
#C4847C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b49117;
/* rgb */ color: rgb(180, 145, 23);
/* oklch */ color: oklch(67.0% 0.132 90.6);
Tailwind
colors: {
  custom: {
    50: '#cfb063',
    500: '#b49117',
    950: '#000000',
  },
}
SCSS
$custom: #b49117;
$custom-light: #cfb063;
$custom-dark: #000000;
JSON
{
  "hex": "#b49117",
  "rgb": {
    "r": 180,
    "g": 145,
    "b": 23
  },
  "hsl": {
    "h": 46.624,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67044,
    "c": 0.1316,
    "h": 90.6
  },
  "luminance": 0.30016
}

Semantic roles & 50–950 ramp

primary
#B49117
secondary
#5973CE
accent
#5FF434
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B49117

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

Preview Lab → · Contrast checker → · Palette generator →

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