#B49D2E#B49D2E

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

Color values

HEX#B49D2E
RGBrgb(180, 157, 46)
HSLhsl(50, 59%, 44%)
HSVhsv(50, 74%, 71%)
CMYKcmyk(0%, 12.8%, 74.4%, 29.4%)
CIE-LABlab(64.98, -3.48, 57.64)
CIE-LCHlch(64.98, 57.74, 93.45°)
OKLaboklab(69.69% -0.0156 0.127)
OKLCHoklch(69.69% 0.128 97)
XYZxyz(31.3741, 34.0161, 7.4975)
Luminance0.3401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49D2E #2E45B4
analogous
#B45A2E #B49D2E #88B42E
triadic
#B49D2E #2EB49D #9D2EB4
tetradic
#B49D2E #2EB45A #2E45B4 #B42E88
square
#B49D2E #2EB45A #2E45B4 #B42E88
split-complementary
#B49D2E #2E88B4 #5A2EB4
monochromatic
#534815 #837222 #B49D2E #D2BB4E #DECE7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B49D2E#FFFFFF#000000##000000
##B49D2E1.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)
#AD991B
Deuteranopia (green-blind)
#B3A135
Tritanopia (blue-blind)
#C29187
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b49d2e;
/* rgb */ color: rgb(180, 157, 46);
/* oklch */ color: oklch(69.7% 0.128 97.0);
Tailwind
colors: {
  custom: {
    50: '#ceb96f',
    500: '#b49d2e',
    950: '#000000',
  },
}
SCSS
$custom: #b49d2e;
$custom-light: #ceb96f;
$custom-dark: #000000;
JSON
{
  "hex": "#b49d2e",
  "rgb": {
    "r": 180,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 49.701,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69692,
    "c": 0.12797,
    "h": 97
  },
  "luminance": 0.34014
}

Semantic roles & 50–950 ramp

primary
#B49D2E
secondary
#7785C7
accent
#60E245
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B49D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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