#B29C2F#B29C2F

#B29C2F is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.3% C 0.126 H 97.4°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#B29C2F
RGBrgb(178, 156, 47)
HSLhsl(50, 58%, 44%)
HSVhsv(50, 74%, 70%)
CMYKcmyk(0%, 12.4%, 73.6%, 30.2%)
CIE-LABlab(64.52, -3.79, 56.76)
CIE-LCHlch(64.52, 56.88, 93.82°)
OKLaboklab(69.29% -0.0162 0.1254)
OKLCHoklch(69.29% 0.126 97.4)
XYZxyz(30.7632, 33.4487, 7.5246)
Luminance0.3345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29C2F #2F45B2
analogous
#B25B2F #B29C2F #87B22F
triadic
#B29C2F #2FB29C #9C2FB2
tetradic
#B29C2F #2FB25B #2F45B2 #B22F87
square
#B29C2F #2FB25B #2F45B2 #B22F87
split-complementary
#B29C2F #2F87B2 #5B2FB2
monochromatic
#514715 #827222 #B29C2F #D0BA4E #DDCD7E

Accessibility & contrast

On white

2.73
#B29C2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#B29C2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29C2F
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29C2F#FFFFFF#000000##000000
##B29C2F1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981D
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#C09087
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b29c2f;
/* rgb */ color: rgb(178, 156, 47);
/* oklch */ color: oklch(69.3% 0.126 97.4);
Tailwind
colors: {
  custom: {
    50: '#cdb86f',
    500: '#b29c2f',
    950: '#000000',
  },
}
SCSS
$custom: #b29c2f;
$custom-light: #cdb86f;
$custom-dark: #000000;
JSON
{
  "hex": "#b29c2f",
  "rgb": {
    "r": 178,
    "g": 156,
    "b": 47
  },
  "hsl": {
    "h": 49.924,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69291,
    "c": 0.12648,
    "h": 97.4
  },
  "luminance": 0.33447
}

Semantic roles & 50–950 ramp

primary
#B29C2F
secondary
#7784C6
accent
#60E146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B29C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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