#B49D1B#B49D1B

#B49D1B is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.6% C 0.137 H 98.0°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#B49D1B
RGBrgb(180, 157, 27)
HSLhsl(51, 74%, 41%)
HSVhsv(51, 85%, 71%)
CMYKcmyk(0%, 12.8%, 85%, 29.4%)
CIE-LABlab(64.88, -4.16, 63.59)
CIE-LCHlch(64.88, 63.72, 93.75°)
OKLaboklab(69.59% -0.0192 0.136)
OKLCHoklch(69.59% 0.137 98)
XYZxyz(31.0789, 33.8981, 5.9427)
Luminance0.3390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49D1B #1B32B4
analogous
#B4501B #B49D1B #7FB41B
triadic
#B49D1B #1BB49D #9D1BB4
tetradic
#B49D1B #1BB450 #1B32B4 #B41B7F
square
#B49D1B #1BB450 #1B32B4 #B41B7F
split-complementary
#B49D1B #1B7FB4 #501BB4
monochromatic
#4A400B #7F6F13 #B49D1B #DFC52D #E7D362

Accessibility & contrast

On white

2.70
#B49D1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#B49D1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49D1B
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49D1B#FFFFFF#000000##000000
##B49D1B1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#B4A126
Tritanopia (blue-blind)
#C39086
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b49d1b;
/* rgb */ color: rgb(180, 157, 27);
/* oklch */ color: oklch(69.6% 0.137 98.0);
Tailwind
colors: {
  custom: {
    50: '#cfb966',
    500: '#b49d1b',
    950: '#000000',
  },
}
SCSS
$custom: #b49d1b;
$custom-light: #cfb966;
$custom-dark: #000000;
JSON
{
  "hex": "#b49d1b",
  "rgb": {
    "r": 180,
    "g": 157,
    "b": 27
  },
  "hsl": {
    "h": 50.98,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69588,
    "c": 0.13736,
    "h": 98
  },
  "luminance": 0.33896
}

Semantic roles & 50–950 ramp

primary
#B49D1B
secondary
#5F6FCC
accent
#53F137
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151107
muted
#83807A

Preview Lab

Preview with #B49D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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