#B29B23#B29B23

#B29B23 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 69.0% C 0.132 H 97.5°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#B29B23
RGBrgb(178, 155, 35)
HSLhsl(50, 67%, 42%)
HSVhsv(50, 80%, 70%)
CMYKcmyk(0%, 12.9%, 80.3%, 30.2%)
CIE-LABlab(64.19, -3.74, 60.63)
CIE-LCHlch(64.19, 60.75, 93.53°)
OKLaboklab(69% -0.0173 0.1313)
OKLCHoklch(69% 0.132 97.5)
XYZxyz(30.3864, 33.0307, 6.3648)
Luminance0.3303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29B23 #233AB2
analogous
#B25423 #B29B23 #82B223
triadic
#B29B23 #23B29B #9B23B2
tetradic
#B29B23 #23B254 #233AB2 #B22382
square
#B29B23 #23B254 #233AB2 #B22382
split-complementary
#B29B23 #2382B2 #5423B2
monochromatic
#4C420F #7F6E19 #B29B23 #D8BF3A #E2CF6D

Accessibility & contrast

On white

2.76
#B29B23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#B29B23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29B23
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29B23#FFFFFF#000000##000000
##B29B231.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9701
Deuteranopia (green-blind)
#B19F2C
Tritanopia (blue-blind)
#C18F85
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b29b23;
/* rgb */ color: rgb(178, 155, 35);
/* oklch */ color: oklch(69.0% 0.132 97.5);
Tailwind
colors: {
  custom: {
    50: '#cdb869',
    500: '#b29b23',
    950: '#000000',
  },
}
SCSS
$custom: #b29b23;
$custom-light: #cdb869;
$custom-dark: #000000;
JSON
{
  "hex": "#b29b23",
  "rgb": {
    "r": 178,
    "g": 155,
    "b": 35
  },
  "hsl": {
    "h": 50.35,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69002,
    "c": 0.13242,
    "h": 97.5
  },
  "luminance": 0.33029
}

Semantic roles & 50–950 ramp

primary
#B29B23
secondary
#6878C9
accent
#59EA3E
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #B29B23

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

Preview Lab → · Contrast checker → · Palette generator →

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