#B29F31#B29F31

#B29F31 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.9% C 0.128 H 99.2°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#B29F31
RGBrgb(178, 159, 49)
HSLhsl(51, 57%, 45%)
HSVhsv(51, 72%, 70%)
CMYKcmyk(0%, 10.7%, 72.5%, 30.2%)
CIE-LABlab(65.35, -5.29, 56.79)
CIE-LCHlch(65.35, 57.04, 95.33°)
OKLaboklab(69.95% -0.0203 0.1259)
OKLCHoklch(69.95% 0.128 99.2)
XYZxyz(31.3141, 34.4845, 7.9119)
Luminance0.3448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29F31 #3144B2
analogous
#B25F31 #B29F31 #85B231
triadic
#B29F31 #31B29F #9F31B2
tetradic
#B29F31 #31B25F #3144B2 #B23185
square
#B29F31 #31B25F #3144B2 #B23185
split-complementary
#B29F31 #3185B2 #5F31B2
monochromatic
#524917 #827424 #B29F31 #CFBD51 #DCCF81

Accessibility & contrast

On white

2.66
#B29F31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#B29F31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29F31
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29F31#FFFFFF#000000##000000
##B29F311.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1F
Deuteranopia (green-blind)
#B4A238
Tritanopia (blue-blind)
#C09389
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b29f31;
/* rgb */ color: rgb(178, 159, 49);
/* oklch */ color: oklch(69.9% 0.128 99.2);
Tailwind
colors: {
  custom: {
    50: '#cdbb70',
    500: '#b29f31',
    950: '#000000',
  },
}
SCSS
$custom: #b29f31;
$custom-light: #cdbb70;
$custom-dark: #000000;
JSON
{
  "hex": "#b29f31",
  "rgb": {
    "r": 178,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 51.163,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69947,
    "c": 0.12752,
    "h": 99.2
  },
  "luminance": 0.34483
}

Semantic roles & 50–950 ramp

primary
#B29F31
secondary
#7985C5
accent
#5EE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B29F31

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

Preview Lab → · Contrast checker → · Palette generator →

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