#B29D2F#B29D2F

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

Color values

HEX#B29D2F
RGBrgb(178, 157, 47)
HSLhsl(50, 58%, 44%)
HSVhsv(50, 74%, 70%)
CMYKcmyk(0%, 11.8%, 73.6%, 30.2%)
CIE-LABlab(64.79, -4.32, 57.02)
CIE-LCHlch(64.79, 57.18, 94.33°)
OKLaboklab(69.5% -0.0178 0.126)
OKLCHoklch(69.5% 0.127 98)
XYZxyz(30.9317, 33.7857, 7.5808)
Luminance0.3378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29D2F #2F44B2
analogous
#B25C2F #B29D2F #86B22F
triadic
#B29D2F #2FB29D #9D2FB2
tetradic
#B29D2F #2FB25C #2F44B2 #B22F86
square
#B29D2F #2FB25C #2F44B2 #B22F86
split-complementary
#B29D2F #2F86B2 #5C2FB2
monochromatic
#514815 #827222 #B29D2F #D0BB4E #DDCE7E

Accessibility & contrast

On white

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

On black

7.76
#B29D2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29D2F
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29D2F#FFFFFF#000000##000000
##B29D2F1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b29d2f;
/* rgb */ color: rgb(178, 157, 47);
/* oklch */ color: oklch(69.5% 0.127 98.0);
Tailwind
colors: {
  custom: {
    50: '#cdb96f',
    500: '#b29d2f',
    950: '#000000',
  },
}
SCSS
$custom: #b29d2f;
$custom-light: #cdb96f;
$custom-dark: #000000;
JSON
{
  "hex": "#b29d2f",
  "rgb": {
    "r": 178,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 50.382,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69504,
    "c": 0.12724,
    "h": 98
  },
  "luminance": 0.33784
}

Semantic roles & 50–950 ramp

primary
#B29D2F
secondary
#7784C6
accent
#5FE146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B29D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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