#B29221#B29221

#B29221 is a light, vivid yellow. Relative luminance 0.301; OKLCH L 67.1% C 0.128 H 91.7°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#B29221
RGBrgb(178, 146, 33)
HSLhsl(47, 69%, 41%)
HSVhsv(47, 81%, 70%)
CMYKcmyk(0%, 18%, 81.5%, 30.2%)
CIE-LABlab(61.77, 1.06, 59.13)
CIE-LCHlch(61.77, 59.14, 88.97°)
OKLaboklab(67.09% -0.0039 0.1276)
OKLCHoklch(67.09% 0.128 91.7)
XYZxyz(28.9152, 30.1344, 5.7321)
Luminance0.3013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29221 #2141B2
analogous
#B24A21 #B29221 #8AB221
triadic
#B29221 #21B292 #9221B2
tetradic
#B29221 #21B24A #2141B2 #B2218A
square
#B29221 #21B24A #2141B2 #B2218A
split-complementary
#B29221 #218AB2 #4A21B2
monochromatic
#4B3D0E #7E6817 #B29221 #DAB636 #E3C96A

Accessibility & contrast

On white

2.99
#B29221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#B29221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29221
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29221#FFFFFF#000000##000000
##B292211.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39001
Deuteranopia (green-blind)
#AB9929
Tritanopia (blue-blind)
#C1857D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b29221;
/* rgb */ color: rgb(178, 146, 33);
/* oklch */ color: oklch(67.1% 0.128 91.7);
Tailwind
colors: {
  custom: {
    50: '#ceb167',
    500: '#b29221',
    950: '#000000',
  },
}
SCSS
$custom: #b29221;
$custom-light: #ceb167;
$custom-dark: #000000;
JSON
{
  "hex": "#b29221",
  "rgb": {
    "r": 178,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 46.759,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67089,
    "c": 0.12769,
    "h": 91.7
  },
  "luminance": 0.30133
}

Semantic roles & 50–950 ramp

primary
#B29221
secondary
#667CC9
accent
#63EC3C
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #B29221

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

Preview Lab → · Contrast checker → · Palette generator →

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