#B29F40#B29F40

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

Color values

HEX#B29F40
RGBrgb(178, 159, 64)
HSLhsl(50, 47%, 47%)
HSVhsv(50, 64%, 70%)
CMYKcmyk(0%, 10.7%, 64%, 30.2%)
CIE-LABlab(65.46, -4.44, 50.62)
CIE-LCHlch(65.46, 50.82, 95.01°)
OKLaboklab(70.08% -0.0161 0.1154)
OKLCHoklch(70.08% 0.117 98)
XYZxyz(31.6850, 34.6329, 9.8653)
Luminance0.3463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29F40 #4053B2
analogous
#B26640 #B29F40 #8CB240
triadic
#B29F40 #40B29F #9F40B2
tetradic
#B29F40 #40B266 #4053B2 #B2408C
square
#B29F40 #40B266 #4053B2 #B2408C
split-complementary
#B29F40 #408CB2 #6640B2
monochromatic
#584F20 #857730 #B29F40 #C8B867 #D8CD94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B29F40#FFFFFF#000000##000000
##B29F401.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)
#AE9B35
Deuteranopia (green-blind)
#B3A245
Tritanopia (blue-blind)
#BF948B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b29f40;
/* rgb */ color: rgb(178, 159, 64);
/* oklch */ color: oklch(70.1% 0.117 98.0);
Tailwind
colors: {
  custom: {
    50: '#ccbb79',
    500: '#b29f40',
    950: '#000000',
  },
}
SCSS
$custom: #b29f40;
$custom-light: #ccbb79;
$custom-dark: #000000;
JSON
{
  "hex": "#b29f40",
  "rgb": {
    "r": 178,
    "g": 159,
    "b": 64
  },
  "hsl": {
    "h": 50,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.70076,
    "c": 0.11651,
    "h": 98
  },
  "luminance": 0.34631
}

Semantic roles & 50–950 ramp

primary
#B29F40
secondary
#8A94C4
accent
#67D751
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141109
muted
#82807B

Preview Lab

Preview with #B29F40

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

Preview Lab → · Contrast checker → · Palette generator →

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