#B49D42#B49D42

#B49D42 is a light, moderate yellow. Relative luminance 0.342; OKLCH L 69.9% C 0.114 H 95.1°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#B49D42
RGBrgb(180, 157, 66)
HSLhsl(48, 46%, 48%)
HSVhsv(48, 63%, 71%)
CMYKcmyk(0%, 12.8%, 63.3%, 29.4%)
CIE-LABlab(65.13, -2.36, 49.41)
CIE-LCHlch(65.13, 49.47, 92.73°)
OKLaboklab(69.86% -0.0101 0.1131)
OKLCHoklch(69.86% 0.114 95.1)
XYZxyz(31.8642, 34.2122, 10.0784)
Luminance0.3421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49D42 #4259B4
analogous
#B46442 #B49D42 #92B442
triadic
#B49D42 #42B49D #9D42B4
tetradic
#B49D42 #42B464 #4259B4 #B44292
square
#B49D42 #42B464 #4259B4 #B44292
split-complementary
#B49D42 #4292B4 #6442B4
monochromatic
#5A4F21 #877632 #B49D42 #C9B66B #D9CC97

Accessibility & contrast

On white

2.68
#B49D42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#B49D42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49D42
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49D42#FFFFFF#000000##000000
##B49D421.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A38
Deuteranopia (green-blind)
#B2A146
Tritanopia (blue-blind)
#C29289
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b49d42;
/* rgb */ color: rgb(180, 157, 66);
/* oklch */ color: oklch(69.9% 0.114 95.1);
Tailwind
colors: {
  custom: {
    50: '#cdb97a',
    500: '#b49d42',
    950: '#000000',
  },
}
SCSS
$custom: #b49d42;
$custom-light: #cdb97a;
$custom-dark: #000000;
JSON
{
  "hex": "#b49d42",
  "rgb": {
    "r": 180,
    "g": 157,
    "b": 66
  },
  "hsl": {
    "h": 47.895,
    "s": 46.341,
    "l": 48.235
  },
  "oklch": {
    "l": 0.69864,
    "c": 0.1135,
    "h": 95.1
  },
  "luminance": 0.34211
}

Semantic roles & 50–950 ramp

primary
#B49D42
secondary
#8D98C5
accent
#6CD652
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141109
muted
#83807B

Preview Lab

Preview with #B49D42

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

Preview Lab → · Contrast checker → · Palette generator →

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