#B29231#B29231

#B29231 is a light, moderate yellow. Relative luminance 0.302; OKLCH L 67.2% C 0.119 H 90.1°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#B29231
RGBrgb(178, 146, 49)
HSLhsl(45, 57%, 45%)
HSVhsv(45, 72%, 70%)
CMYKcmyk(0%, 18%, 72.5%, 30.2%)
CIE-LABlab(61.87, 1.73, 53.36)
CIE-LCHlch(61.87, 53.38, 88.14°)
OKLaboklab(67.2% -0.0003 0.1186)
OKLCHoklch(67.2% 0.119 90.1)
XYZxyz(29.1950, 30.2463, 7.2055)
Luminance0.3024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29231 #3151B2
analogous
#B25131 #B29231 #92B231
triadic
#B29231 #31B292 #9231B2
tetradic
#B29231 #31B251 #3151B2 #B23192
square
#B29231 #31B251 #3151B2 #B23192
split-complementary
#B29231 #3192B2 #5131B2
monochromatic
#524317 #826B24 #B29231 #CFB051 #DCC681

Accessibility & contrast

On white

2.98
#B29231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#B29231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29231
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29231#FFFFFF#000000##000000
##B292311.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39023
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#C1867E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b29231;
/* rgb */ color: rgb(178, 146, 49);
/* oklch */ color: oklch(67.2% 0.119 90.1);
Tailwind
colors: {
  custom: {
    50: '#cdb16f',
    500: '#b29231',
    950: '#000000',
  },
}
SCSS
$custom: #b29231;
$custom-light: #cdb16f;
$custom-dark: #000000;
JSON
{
  "hex": "#b29231",
  "rgb": {
    "r": 178,
    "g": 146,
    "b": 49
  },
  "hsl": {
    "h": 45.116,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67196,
    "c": 0.11861,
    "h": 90.1
  },
  "luminance": 0.30244
}

Semantic roles & 50–950 ramp

primary
#B29231
secondary
#798CC5
accent
#6EE048
background
#FDFAF6
surface
#FAF5EC
border
#D3CFC7
text
#141008
muted
#837F7B

Preview Lab

Preview with #B29231

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

Preview Lab → · Contrast checker → · Palette generator →

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