#B49A2F#B49A2F

#B49A2F is a light, vivid yellow. Relative luminance 0.330; OKLCH L 69.1% C 0.125 H 94.9°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#B49A2F
RGBrgb(180, 154, 47)
HSLhsl(48, 59%, 45%)
HSVhsv(48, 74%, 71%)
CMYKcmyk(0%, 14.4%, 73.9%, 29.4%)
CIE-LABlab(64.18, -1.82, 56.49)
CIE-LCHlch(64.18, 56.52, 91.84°)
OKLaboklab(69.06% -0.0108 0.1248)
OKLCHoklch(69.06% 0.125 94.9)
XYZxyz(30.8927, 33.0214, 7.4354)
Luminance0.3302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49A2F #2F49B4
analogous
#B4582F #B49A2F #8BB42F
triadic
#B49A2F #2FB49A #9A2FB4
tetradic
#B49A2F #2FB458 #2F49B4 #B42F8B
square
#B49A2F #2FB458 #2F49B4 #B42F8B
split-complementary
#B49A2F #2F8BB4 #582FB4
monochromatic
#534716 #837022 #B49A2F #D1B84F #DECB80

Accessibility & contrast

On white

2.76
#B49A2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#B49A2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49A2F
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49A2F#FFFFFF#000000##000000
##B49A2F1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA971D
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#C38E85
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b49a2f;
/* rgb */ color: rgb(180, 154, 47);
/* oklch */ color: oklch(69.1% 0.125 94.9);
Tailwind
colors: {
  custom: {
    50: '#ceb76f',
    500: '#b49a2f',
    950: '#000000',
  },
}
SCSS
$custom: #b49a2f;
$custom-light: #ceb76f;
$custom-dark: #000000;
JSON
{
  "hex": "#b49a2f",
  "rgb": {
    "r": 180,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 48.271,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69063,
    "c": 0.12524,
    "h": 94.9
  },
  "luminance": 0.3302
}

Semantic roles & 50–950 ramp

primary
#B49A2F
secondary
#7888C7
accent
#64E246
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B49A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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