#B29B31#B29B31

#B29B31 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 69.1% C 0.124 H 96.6°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#B29B31
RGBrgb(178, 155, 49)
HSLhsl(49, 57%, 45%)
HSVhsv(49, 72%, 70%)
CMYKcmyk(0%, 12.9%, 72.5%, 30.2%)
CIE-LABlab(64.27, -3.15, 55.73)
CIE-LCHlch(64.27, 55.82, 93.24°)
OKLaboklab(69.09% -0.0142 0.1236)
OKLCHoklch(69.09% 0.124 96.6)
XYZxyz(30.6374, 33.1310, 7.6863)
Luminance0.3313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29B31 #3148B2
analogous
#B25A31 #B29B31 #89B231
triadic
#B29B31 #31B29B #9B31B2
tetradic
#B29B31 #31B25A #3148B2 #B23189
square
#B29B31 #31B25A #3148B2 #B23189
split-complementary
#B29B31 #3189B2 #5A31B2
monochromatic
#524717 #827124 #B29B31 #CFB951 #DCCC81

Accessibility & contrast

On white

2.75
#B29B31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#B29B31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29B31
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29B31#FFFFFF#000000##000000
##B29B311.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9820
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#C08F86
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b29b31;
/* rgb */ color: rgb(178, 155, 49);
/* oklch */ color: oklch(69.1% 0.124 96.6);
Tailwind
colors: {
  custom: {
    50: '#cdb870',
    500: '#b29b31',
    950: '#000000',
  },
}
SCSS
$custom: #b29b31;
$custom-light: #cdb870;
$custom-dark: #000000;
JSON
{
  "hex": "#b29b31",
  "rgb": {
    "r": 178,
    "g": 155,
    "b": 49
  },
  "hsl": {
    "h": 49.302,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69092,
    "c": 0.12446,
    "h": 96.6
  },
  "luminance": 0.33129
}

Semantic roles & 50–950 ramp

primary
#B29B31
secondary
#7987C5
accent
#63E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B29B31

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

Preview Lab → · Contrast checker → · Palette generator →

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