#B29D31#B29D31

#B29D31 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.5% C 0.126 H 97.9°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#B29D31
RGBrgb(178, 157, 49)
HSLhsl(50, 57%, 45%)
HSVhsv(50, 72%, 70%)
CMYKcmyk(0%, 11.8%, 72.5%, 30.2%)
CIE-LABlab(64.81, -4.22, 56.26)
CIE-LCHlch(64.81, 56.42, 94.29°)
OKLaboklab(69.52% -0.0173 0.1248)
OKLCHoklch(69.52% 0.126 97.9)
XYZxyz(30.9730, 33.8022, 7.7982)
Luminance0.3380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29D31 #3146B2
analogous
#B25D31 #B29D31 #86B231
triadic
#B29D31 #31B29D #9D31B2
tetradic
#B29D31 #31B25D #3146B2 #B23186
square
#B29D31 #31B25D #3146B2 #B23186
split-complementary
#B29D31 #3186B2 #5D31B2
monochromatic
#524817 #827324 #B29D31 #CFBB51 #DCCD81

Accessibility & contrast

On white

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

On black

7.76
#B29D31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29D31
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29D31#FFFFFF#000000##000000
##B29D311.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9920
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#C09188
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b29d31;
/* rgb */ color: rgb(178, 157, 49);
/* oklch */ color: oklch(69.5% 0.126 97.9);
Tailwind
colors: {
  custom: {
    50: '#cdb970',
    500: '#b29d31',
    950: '#000000',
  },
}
SCSS
$custom: #b29d31;
$custom-light: #cdb970;
$custom-dark: #000000;
JSON
{
  "hex": "#b29d31",
  "rgb": {
    "r": 178,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 50.233,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69519,
    "c": 0.12596,
    "h": 97.9
  },
  "luminance": 0.33801
}

Semantic roles & 50–950 ramp

primary
#B29D31
secondary
#7986C5
accent
#61E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B29D31

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

Preview Lab → · Contrast checker → · Palette generator →

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