#B29B2F#B29B2F

#B29B2F is a light, vivid yellow. Relative luminance 0.331; OKLCH L 69.1% C 0.126 H 96.7°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#B29B2F
RGBrgb(178, 155, 47)
HSLhsl(49, 58%, 44%)
HSVhsv(49, 74%, 70%)
CMYKcmyk(0%, 12.9%, 73.6%, 30.2%)
CIE-LABlab(64.25, -3.25, 56.50)
CIE-LCHlch(64.25, 56.59, 93.29°)
OKLaboklab(69.08% -0.0147 0.1249)
OKLCHoklch(69.08% 0.126 96.7)
XYZxyz(30.5961, 33.1145, 7.4689)
Luminance0.3311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29B2F #2F46B2
analogous
#B25A2F #B29B2F #88B22F
triadic
#B29B2F #2FB29B #9B2FB2
tetradic
#B29B2F #2FB25A #2F46B2 #B22F88
square
#B29B2F #2FB25A #2F46B2 #B22F88
split-complementary
#B29B2F #2F88B2 #5A2FB2
monochromatic
#514715 #827122 #B29B2F #D0B94E #DDCC7E

Accessibility & contrast

On white

2.75
#B29B2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#B29B2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29B2F
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29B2F#FFFFFF#000000##000000
##B29B2F1.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB971D
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#C08F86
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b29b2f;
/* rgb */ color: rgb(178, 155, 47);
/* oklch */ color: oklch(69.1% 0.126 96.7);
Tailwind
colors: {
  custom: {
    50: '#cdb86f',
    500: '#b29b2f',
    950: '#000000',
  },
}
SCSS
$custom: #b29b2f;
$custom-light: #cdb86f;
$custom-dark: #000000;
JSON
{
  "hex": "#b29b2f",
  "rgb": {
    "r": 178,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 49.466,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69078,
    "c": 0.12574,
    "h": 96.7
  },
  "luminance": 0.33113
}

Semantic roles & 50–950 ramp

primary
#B29B2F
secondary
#7785C6
accent
#62E146
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B29B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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