#B49C2F#B49C2F

#B49C2F is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.5% C 0.127 H 96.3°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#B49C2F
RGBrgb(180, 156, 47)
HSLhsl(49, 59%, 45%)
HSVhsv(49, 74%, 71%)
CMYKcmyk(0%, 13.3%, 73.9%, 29.4%)
CIE-LABlab(64.71, -2.90, 57.01)
CIE-LCHlch(64.71, 57.08, 92.91°)
OKLaboklab(69.49% -0.0138 0.1259)
OKLCHoklch(69.49% 0.127 96.3)
XYZxyz(31.2255, 33.6871, 7.5463)
Luminance0.3368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49C2F #2F47B4
analogous
#B45A2F #B49C2F #8AB42F
triadic
#B49C2F #2FB49C #9C2FB4
tetradic
#B49C2F #2FB45A #2F47B4 #B42F8A
square
#B49C2F #2FB45A #2F47B4 #B42F8A
split-complementary
#B49C2F #2F8AB4 #5A2FB4
monochromatic
#534816 #837222 #B49C2F #D1BA4F #DECD80

Accessibility & contrast

On white

2.71
#B49C2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#B49C2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49C2F
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49C2F#FFFFFF#000000##000000
##B49C2F1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC991D
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#C29087
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b49c2f;
/* rgb */ color: rgb(180, 156, 47);
/* oklch */ color: oklch(69.5% 0.127 96.3);
Tailwind
colors: {
  custom: {
    50: '#ceb86f',
    500: '#b49c2f',
    950: '#000000',
  },
}
SCSS
$custom: #b49c2f;
$custom-light: #ceb86f;
$custom-dark: #000000;
JSON
{
  "hex": "#b49c2f",
  "rgb": {
    "r": 180,
    "g": 156,
    "b": 47
  },
  "hsl": {
    "h": 49.173,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69486,
    "c": 0.12664,
    "h": 96.3
  },
  "luminance": 0.33685
}

Semantic roles & 50–950 ramp

primary
#B49C2F
secondary
#7886C7
accent
#62E246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B49C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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