#B29D2D#B29D2D

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

Color values

HEX#B29D2D
RGBrgb(178, 157, 45)
HSLhsl(51, 60%, 44%)
HSVhsv(51, 75%, 70%)
CMYKcmyk(0%, 11.8%, 74.7%, 30.2%)
CIE-LABlab(64.78, -4.41, 57.76)
CIE-LCHlch(64.78, 57.92, 94.37°)
OKLaboklab(69.49% -0.0182 0.1272)
OKLCHoklch(69.49% 0.128 98.2)
XYZxyz(30.8923, 33.7699, 7.3732)
Luminance0.3377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29D2D #2D42B2
analogous
#B25A2D #B29D2D #84B22D
triadic
#B29D2D #2DB29D #9D2DB2
tetradic
#B29D2D #2DB25A #2D42B2 #B22D84
square
#B29D2D #2DB25A #2D42B2 #B22D84
split-complementary
#B29D2D #2D84B2 #5A2DB2
monochromatic
#504714 #817221 #B29D2D #D1BC4B #DECE7C

Accessibility & contrast

On white

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

On black

7.75
#B29D2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29D2D
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29D2D#FFFFFF#000000##000000
##B29D2D1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9919
Deuteranopia (green-blind)
#B2A034
Tritanopia (blue-blind)
#C09187
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b29d2d;
/* rgb */ color: rgb(178, 157, 45);
/* oklch */ color: oklch(69.5% 0.128 98.2);
Tailwind
colors: {
  custom: {
    50: '#cdb96e',
    500: '#b29d2d',
    950: '#000000',
  },
}
SCSS
$custom: #b29d2d;
$custom-light: #cdb96e;
$custom-dark: #000000;
JSON
{
  "hex": "#b29d2d",
  "rgb": {
    "r": 178,
    "g": 157,
    "b": 45
  },
  "hsl": {
    "h": 50.526,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.6949,
    "c": 0.12846,
    "h": 98.2
  },
  "luminance": 0.33768
}

Semantic roles & 50–950 ramp

primary
#B29D2D
secondary
#7582C6
accent
#5EE345
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B29D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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