#B29F42#B29F42

#B29F42 is a light, moderate yellow. Relative luminance 0.347; OKLCH L 70.1% C 0.115 H 97.8°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#B29F42
RGBrgb(178, 159, 66)
HSLhsl(50, 46%, 48%)
HSVhsv(50, 63%, 70%)
CMYKcmyk(0%, 10.7%, 62.9%, 30.2%)
CIE-LABlab(65.48, -4.31, 49.74)
CIE-LCHlch(65.48, 49.92, 94.95°)
OKLaboklab(70.1% -0.0155 0.1138)
OKLCHoklch(70.1% 0.115 97.8)
XYZxyz(31.7429, 34.6561, 10.1705)
Luminance0.3466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29F42 #4255B2
analogous
#B26742 #B29F42 #8DB242
triadic
#B29F42 #42B29F #9F42B2
tetradic
#B29F42 #42B267 #4255B2 #B2428D
square
#B29F42 #42B267 #4255B2 #B2428D
split-complementary
#B29F42 #428DB2 #6742B2
monochromatic
#594F21 #857731 #B29F42 #C8B86A #D8CD96

Accessibility & contrast

On white

2.65
#B29F42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#B29F42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29F42
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29F42#FFFFFF#000000##000000
##B29F421.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B38
Deuteranopia (green-blind)
#B3A247
Tritanopia (blue-blind)
#BF948B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b29f42;
/* rgb */ color: rgb(178, 159, 66);
/* oklch */ color: oklch(70.1% 0.115 97.8);
Tailwind
colors: {
  custom: {
    50: '#ccbb7a',
    500: '#b29f42',
    950: '#000000',
  },
}
SCSS
$custom: #b29f42;
$custom-light: #ccbb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b29f42",
  "rgb": {
    "r": 178,
    "g": 159,
    "b": 66
  },
  "hsl": {
    "h": 49.821,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.70097,
    "c": 0.11485,
    "h": 97.8
  },
  "luminance": 0.34655
}

Semantic roles & 50–950 ramp

primary
#B29F42
secondary
#8C95C4
accent
#69D652
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141109
muted
#82807B

Preview Lab

Preview with #B29F42

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

Preview Lab → · Contrast checker → · Palette generator →

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