#B29D3A#B29D3A

#B29D3A is a light, moderate yellow. Relative luminance 0.339; OKLCH L 69.6% C 0.120 H 97.1°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#B29D3A
RGBrgb(178, 157, 58)
HSLhsl(50, 51%, 46%)
HSVhsv(50, 67%, 70%)
CMYKcmyk(0%, 11.8%, 67.4%, 30.2%)
CIE-LABlab(64.87, -3.74, 52.64)
CIE-LCHlch(64.87, 52.77, 94.06°)
OKLaboklab(69.59% -0.0149 0.1187)
OKLCHoklch(69.59% 0.12 97.1)
XYZxyz(31.1822, 33.8859, 8.9003)
Luminance0.3388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29D3A #3A4FB2
analogous
#B2613A #B29D3A #8BB23A
triadic
#B29D3A #3AB29D #9D3AB2
tetradic
#B29D3A #3AB261 #3A4FB2 #B23A8B
square
#B29D3A #3AB261 #3A4FB2 #B23A8B
split-complementary
#B29D3A #3A8BB2 #613AB2
monochromatic
#564C1C #84742B #B29D3A #CBB85F #DACC8D

Accessibility & contrast

On white

2.70
#B29D3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#B29D3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29D3A
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29D3A#FFFFFF#000000##000000
##B29D3A1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC992D
Deuteranopia (green-blind)
#B2A03F
Tritanopia (blue-blind)
#C09188
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b29d3a;
/* rgb */ color: rgb(178, 157, 58);
/* oklch */ color: oklch(69.6% 0.120 97.1);
Tailwind
colors: {
  custom: {
    50: '#ccb975',
    500: '#b29d3a',
    950: '#000000',
  },
}
SCSS
$custom: #b29d3a;
$custom-light: #ccb975;
$custom-dark: #000000;
JSON
{
  "hex": "#b29d3a",
  "rgb": {
    "r": 178,
    "g": 157,
    "b": 58
  },
  "hsl": {
    "h": 49.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.69593,
    "c": 0.11963,
    "h": 97.1
  },
  "luminance": 0.33884
}

Semantic roles & 50–950 ramp

primary
#B29D3A
secondary
#838FC4
accent
#66DA4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B29D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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