#B29831#B29831

#B29831 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.5% C 0.122 H 94.5°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#B29831
RGBrgb(178, 152, 49)
HSLhsl(48, 57%, 45%)
HSVhsv(48, 72%, 70%)
CMYKcmyk(0%, 14.6%, 72.5%, 30.2%)
CIE-LABlab(63.46, -1.53, 54.94)
CIE-LCHlch(63.46, 54.96, 91.60°)
OKLaboklab(68.46% -0.0096 0.122)
OKLCHoklch(68.46% 0.122 94.5)
XYZxyz(30.1443, 32.1449, 7.5220)
Luminance0.3214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29831 #314BB2
analogous
#B25831 #B29831 #8CB231
triadic
#B29831 #31B298 #9831B2
tetradic
#B29831 #31B258 #314BB2 #B2318C
square
#B29831 #31B258 #314BB2 #B2318C
split-complementary
#B29831 #318CB2 #5831B2
monochromatic
#524617 #826F24 #B29831 #CFB651 #DCCA81

Accessibility & contrast

On white

2.83
#B29831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#B29831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29831
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29831#FFFFFF#000000##000000
##B298311.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89521
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#C08C83
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b29831;
/* rgb */ color: rgb(178, 152, 49);
/* oklch */ color: oklch(68.5% 0.122 94.5);
Tailwind
colors: {
  custom: {
    50: '#cdb670',
    500: '#b29831',
    950: '#000000',
  },
}
SCSS
$custom: #b29831;
$custom-light: #cdb670;
$custom-dark: #000000;
JSON
{
  "hex": "#b29831",
  "rgb": {
    "r": 178,
    "g": 152,
    "b": 49
  },
  "hsl": {
    "h": 47.907,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68456,
    "c": 0.12234,
    "h": 94.5
  },
  "luminance": 0.32143
}

Semantic roles & 50–950 ramp

primary
#B29831
secondary
#7989C5
accent
#66E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B29831

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

Preview Lab → · Contrast checker → · Palette generator →

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