#B29931#B29931

#B29931 is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.7% C 0.123 H 95.2°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#B29931
RGBrgb(178, 153, 49)
HSLhsl(48, 57%, 45%)
HSVhsv(48, 72%, 70%)
CMYKcmyk(0%, 14%, 72.5%, 30.2%)
CIE-LABlab(63.73, -2.07, 55.20)
CIE-LCHlch(63.73, 55.24, 92.15°)
OKLaboklab(68.67% -0.0111 0.1225)
OKLCHoklch(68.67% 0.123 95.2)
XYZxyz(30.3073, 32.4708, 7.5763)
Luminance0.3247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29931 #314AB2
analogous
#B25931 #B29931 #8BB231
triadic
#B29931 #31B299 #9931B2
tetradic
#B29931 #31B259 #314AB2 #B2318B
square
#B29931 #31B259 #314AB2 #B2318B
split-complementary
#B29931 #318BB2 #5931B2
monochromatic
#524717 #827024 #B29931 #CFB751 #DCCB81

Accessibility & contrast

On white

2.80
#B29931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#B29931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29931
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29931#FFFFFF#000000##000000
##B299311.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99621
Deuteranopia (green-blind)
#AF9E37
Tritanopia (blue-blind)
#C08D84
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b29931;
/* rgb */ color: rgb(178, 153, 49);
/* oklch */ color: oklch(68.7% 0.123 95.2);
Tailwind
colors: {
  custom: {
    50: '#cdb670',
    500: '#b29931',
    950: '#000000',
  },
}
SCSS
$custom: #b29931;
$custom-light: #cdb670;
$custom-dark: #000000;
JSON
{
  "hex": "#b29931",
  "rgb": {
    "r": 178,
    "g": 153,
    "b": 49
  },
  "hsl": {
    "h": 48.372,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68668,
    "c": 0.12303,
    "h": 95.2
  },
  "luminance": 0.32469
}

Semantic roles & 50–950 ramp

primary
#B29931
secondary
#7988C5
accent
#65E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B29931

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

Preview Lab → · Contrast checker → · Palette generator →

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