#B29A2D#B29A2D

#B29A2D is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.9% C 0.126 H 96.2°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#B29A2D
RGBrgb(178, 154, 45)
HSLhsl(49, 60%, 44%)
HSVhsv(49, 75%, 70%)
CMYKcmyk(0%, 13.5%, 74.7%, 30.2%)
CIE-LABlab(63.97, -2.80, 56.98)
CIE-LCHlch(63.97, 57.05, 92.82°)
OKLaboklab(68.85% -0.0137 0.1255)
OKLCHoklch(68.85% 0.126 96.2)
XYZxyz(30.3909, 32.7673, 7.2061)
Luminance0.3277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29A2D #2D45B2
analogous
#B2572D #B29A2D #87B22D
triadic
#B29A2D #2DB29A #9A2DB2
tetradic
#B29A2D #2DB257 #2D45B2 #B22D87
square
#B29A2D #2DB257 #2D45B2 #B22D87
split-complementary
#B29A2D #2D87B2 #572DB2
monochromatic
#504514 #817021 #B29A2D #D1B94B #DECC7C

Accessibility & contrast

On white

2.78
#B29A2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#B29A2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29A2D
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29A2D#FFFFFF#000000##000000
##B29A2D1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA971A
Deuteranopia (green-blind)
#B09E34
Tritanopia (blue-blind)
#C08E85
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b29a2d;
/* rgb */ color: rgb(178, 154, 45);
/* oklch */ color: oklch(68.9% 0.126 96.2);
Tailwind
colors: {
  custom: {
    50: '#cdb76e',
    500: '#b29a2d',
    950: '#000000',
  },
}
SCSS
$custom: #b29a2d;
$custom-light: #cdb76e;
$custom-dark: #000000;
JSON
{
  "hex": "#b29a2d",
  "rgb": {
    "r": 178,
    "g": 154,
    "b": 45
  },
  "hsl": {
    "h": 49.173,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.68851,
    "c": 0.12626,
    "h": 96.2
  },
  "luminance": 0.32766
}

Semantic roles & 50–950 ramp

primary
#B29A2D
secondary
#7583C6
accent
#61E345
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B29A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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