#B49D2B#B49D2B

#B49D2B is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.7% C 0.130 H 97.2°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#B49D2B
RGBrgb(180, 157, 43)
HSLhsl(50, 61%, 44%)
HSVhsv(50, 76%, 71%)
CMYKcmyk(0%, 12.8%, 76.1%, 29.4%)
CIE-LABlab(64.96, -3.61, 58.72)
CIE-LCHlch(64.96, 58.83, 93.52°)
OKLaboklab(69.67% -0.0163 0.1287)
OKLCHoklch(69.67% 0.13 97.2)
XYZxyz(31.3170, 33.9933, 7.1969)
Luminance0.3399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49D2B #2B42B4
analogous
#B4582B #B49D2B #86B42B
triadic
#B49D2B #2BB49D #9D2BB4
tetradic
#B49D2B #2BB458 #2B42B4 #B42B86
square
#B49D2B #2BB458 #2B42B4 #B42B86
split-complementary
#B49D2B #2B86B4 #582BB4
monochromatic
#514713 #83721F #B49D2B #D3BC49 #DFCE7A

Accessibility & contrast

On white

2.69
#B49D2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#B49D2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49D2B
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49D2B#FFFFFF#000000##000000
##B49D2B1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9915
Deuteranopia (green-blind)
#B3A132
Tritanopia (blue-blind)
#C39187
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b49d2b;
/* rgb */ color: rgb(180, 157, 43);
/* oklch */ color: oklch(69.7% 0.130 97.2);
Tailwind
colors: {
  custom: {
    50: '#ceb96d',
    500: '#b49d2b',
    950: '#000000',
  },
}
SCSS
$custom: #b49d2b;
$custom-light: #ceb96d;
$custom-dark: #000000;
JSON
{
  "hex": "#b49d2b",
  "rgb": {
    "r": 180,
    "g": 157,
    "b": 43
  },
  "hsl": {
    "h": 49.927,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69672,
    "c": 0.12976,
    "h": 97.2
  },
  "luminance": 0.33992
}

Semantic roles & 50–950 ramp

primary
#B49D2B
secondary
#7382C7
accent
#5EE543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B49D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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