#B29D2E#B29D2E

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

Color values

HEX#B29D2E
RGBrgb(178, 157, 46)
HSLhsl(50, 59%, 44%)
HSVhsv(50, 74%, 70%)
CMYKcmyk(0%, 11.8%, 74.2%, 30.2%)
CIE-LABlab(64.79, -4.37, 57.39)
CIE-LCHlch(64.79, 57.56, 94.35°)
OKLaboklab(69.5% -0.018 0.1266)
OKLCHoklch(69.5% 0.128 98.1)
XYZxyz(30.9117, 33.7777, 7.4758)
Luminance0.3378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29D2E #2E43B2
analogous
#B25B2E #B29D2E #85B22E
triadic
#B29D2E #2EB29D #9D2EB2
tetradic
#B29D2E #2EB25B #2E43B2 #B22E85
square
#B29D2E #2EB25B #2E43B2 #B22E85
split-complementary
#B29D2E #2E85B2 #5B2EB2
monochromatic
#514715 #817221 #B29D2E #D1BC4C #DDCE7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B29D2E#FFFFFF#000000##000000
##B29D2E1.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)
#AD991B
Deuteranopia (green-blind)
#B2A035
Tritanopia (blue-blind)
#C09187
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b29d2e;
/* rgb */ color: rgb(178, 157, 46);
/* oklch */ color: oklch(69.5% 0.128 98.1);
Tailwind
colors: {
  custom: {
    50: '#cdb96f',
    500: '#b29d2e',
    950: '#000000',
  },
}
SCSS
$custom: #b29d2e;
$custom-light: #cdb96f;
$custom-dark: #000000;
JSON
{
  "hex": "#b29d2e",
  "rgb": {
    "r": 178,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 50.455,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.69497,
    "c": 0.12785,
    "h": 98.1
  },
  "luminance": 0.33776
}

Semantic roles & 50–950 ramp

primary
#B29D2E
secondary
#7683C6
accent
#5FE246
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B29D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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