#B29A23#B29A23

#B29A23 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.8% C 0.132 H 96.9°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#B29A23
RGBrgb(178, 154, 35)
HSLhsl(50, 67%, 42%)
HSVhsv(50, 80%, 70%)
CMYKcmyk(0%, 13.5%, 80.3%, 30.2%)
CIE-LABlab(63.92, -3.20, 60.39)
CIE-LCHlch(63.92, 60.48, 93.04°)
OKLaboklab(68.79% -0.0158 0.1308)
OKLCHoklch(68.79% 0.132 96.9)
XYZxyz(30.2207, 32.6992, 6.3096)
Luminance0.3270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29A23 #233BB2
analogous
#B25323 #B29A23 #83B223
triadic
#B29A23 #23B29A #9A23B2
tetradic
#B29A23 #23B253 #233BB2 #B22383
square
#B29A23 #23B253 #233BB2 #B22383
split-complementary
#B29A23 #2383B2 #5323B2
monochromatic
#4C420F #7F6E19 #B29A23 #D8BE3A #E2CF6D

Accessibility & contrast

On white

2.79
#B29A23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#B29A23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29A23
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29A23#FFFFFF#000000##000000
##B29A231.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9601
Deuteranopia (green-blind)
#B19E2C
Tritanopia (blue-blind)
#C18D84
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b29a23;
/* rgb */ color: rgb(178, 154, 35);
/* oklch */ color: oklch(68.8% 0.132 96.9);
Tailwind
colors: {
  custom: {
    50: '#cdb769',
    500: '#b29a23',
    950: '#000000',
  },
}
SCSS
$custom: #b29a23;
$custom-light: #cdb769;
$custom-dark: #000000;
JSON
{
  "hex": "#b29a23",
  "rgb": {
    "r": 178,
    "g": 154,
    "b": 35
  },
  "hsl": {
    "h": 49.93,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68789,
    "c": 0.13173,
    "h": 96.9
  },
  "luminance": 0.32698
}

Semantic roles & 50–950 ramp

primary
#B29A23
secondary
#6878C9
accent
#5BEA3E
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #B29A23

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

Preview Lab → · Contrast checker → · Palette generator →

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