#B49D2D#B49D2D

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

Color values

HEX#B49D2D
RGBrgb(180, 157, 45)
HSLhsl(50, 60%, 44%)
HSVhsv(50, 75%, 71%)
CMYKcmyk(0%, 12.8%, 75%, 29.4%)
CIE-LABlab(64.97, -3.52, 58.00)
CIE-LCHlch(64.97, 58.11, 93.48°)
OKLaboklab(69.69% -0.0158 0.1276)
OKLCHoklch(69.69% 0.129 97.1)
XYZxyz(31.3546, 34.0084, 7.3949)
Luminance0.3401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49D2D #2D44B4
analogous
#B45A2D #B49D2D #88B42D
triadic
#B49D2D #2DB49D #9D2DB4
tetradic
#B49D2D #2DB45A #2D44B4 #B42D88
square
#B49D2D #2DB45A #2D44B4 #B42D88
split-complementary
#B49D2D #2D88B4 #5A2DB4
monochromatic
#524815 #837221 #B49D2D #D2BB4C #DECE7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B49D2D#FFFFFF#000000##000000
##B49D2D1.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)
#AD9919
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#C29187
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b49d2d;
/* rgb */ color: rgb(180, 157, 45);
/* oklch */ color: oklch(69.7% 0.129 97.1);
Tailwind
colors: {
  custom: {
    50: '#ceb96e',
    500: '#b49d2d',
    950: '#000000',
  },
}
SCSS
$custom: #b49d2d;
$custom-light: #ceb96e;
$custom-dark: #000000;
JSON
{
  "hex": "#b49d2d",
  "rgb": {
    "r": 180,
    "g": 157,
    "b": 45
  },
  "hsl": {
    "h": 49.778,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69685,
    "c": 0.12858,
    "h": 97.1
  },
  "luminance": 0.34007
}

Semantic roles & 50–950 ramp

primary
#B49D2D
secondary
#7684C7
accent
#60E345
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B49D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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