#B29D42#B29D42

#B29D42 is a light, moderate yellow. Relative luminance 0.340; OKLCH L 69.7% C 0.113 H 96.3°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#B29D42
RGBrgb(178, 157, 66)
HSLhsl(49, 46%, 48%)
HSVhsv(49, 63%, 70%)
CMYKcmyk(0%, 11.8%, 62.9%, 30.2%)
CIE-LABlab(64.94, -3.23, 49.15)
CIE-LCHlch(64.94, 49.26, 93.76°)
OKLaboklab(69.67% -0.0124 0.1126)
OKLCHoklch(69.67% 0.113 96.3)
XYZxyz(31.4018, 33.9738, 10.0568)
Luminance0.3397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29D42 #4257B2
analogous
#B26542 #B29D42 #8FB242
triadic
#B29D42 #42B29D #9D42B2
tetradic
#B29D42 #42B265 #4257B2 #B2428F
square
#B29D42 #42B265 #4257B2 #B2428F
split-complementary
#B29D42 #428FB2 #6542B2
monochromatic
#594E21 #857631 #B29D42 #C8B66A #D8CC96

Accessibility & contrast

On white

2.69
#B29D42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#B29D42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29D42
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29D42#FFFFFF#000000##000000
##B29D421.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A38
Deuteranopia (green-blind)
#B1A146
Tritanopia (blue-blind)
#BF9289
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b29d42;
/* rgb */ color: rgb(178, 157, 66);
/* oklch */ color: oklch(69.7% 0.113 96.3);
Tailwind
colors: {
  custom: {
    50: '#ccb97a',
    500: '#b29d42',
    950: '#000000',
  },
}
SCSS
$custom: #b29d42;
$custom-light: #ccb97a;
$custom-dark: #000000;
JSON
{
  "hex": "#b29d42",
  "rgb": {
    "r": 178,
    "g": 157,
    "b": 66
  },
  "hsl": {
    "h": 48.75,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.6967,
    "c": 0.11324,
    "h": 96.3
  },
  "luminance": 0.33972
}

Semantic roles & 50–950 ramp

primary
#B29D42
secondary
#8C96C4
accent
#6BD652
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141109
muted
#82807B

Preview Lab

Preview with #B29D42

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

Preview Lab → · Contrast checker → · Palette generator →

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