#B49B2F#B49B2F

#B49B2F is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.3% C 0.126 H 95.6°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#B49B2F
RGBrgb(180, 155, 47)
HSLhsl(49, 59%, 45%)
HSVhsv(49, 74%, 71%)
CMYKcmyk(0%, 13.9%, 73.9%, 29.4%)
CIE-LABlab(64.45, -2.36, 56.75)
CIE-LCHlch(64.45, 56.80, 92.38°)
OKLaboklab(69.27% -0.0123 0.1253)
OKLCHoklch(69.27% 0.126 95.6)
XYZxyz(31.0584, 33.3529, 7.4906)
Luminance0.3335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49B2F #2F48B4
analogous
#B4592F #B49B2F #8BB42F
triadic
#B49B2F #2FB49B #9B2FB4
tetradic
#B49B2F #2FB459 #2F48B4 #B42F8B
square
#B49B2F #2FB459 #2F48B4 #B42F8B
split-complementary
#B49B2F #2F8BB4 #592FB4
monochromatic
#534716 #837122 #B49B2F #D1B94F #DECC80

Accessibility & contrast

On white

2.74
#B49B2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#B49B2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49B2F
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49B2F#FFFFFF#000000##000000
##B49B2F1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB981D
Deuteranopia (green-blind)
#B2A035
Tritanopia (blue-blind)
#C38F86
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b49b2f;
/* rgb */ color: rgb(180, 155, 47);
/* oklch */ color: oklch(69.3% 0.126 95.6);
Tailwind
colors: {
  custom: {
    50: '#ceb86f',
    500: '#b49b2f',
    950: '#000000',
  },
}
SCSS
$custom: #b49b2f;
$custom-light: #ceb86f;
$custom-dark: #000000;
JSON
{
  "hex": "#b49b2f",
  "rgb": {
    "r": 180,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 48.722,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69275,
    "c": 0.12593,
    "h": 95.6
  },
  "luminance": 0.33351
}

Semantic roles & 50–950 ramp

primary
#B49B2F
secondary
#7887C7
accent
#63E246
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B49B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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