#B29E2D#B29E2D

#B29E2D is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.7% C 0.129 H 98.8°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#B29E2D
RGBrgb(178, 158, 45)
HSLhsl(51, 60%, 44%)
HSVhsv(51, 75%, 70%)
CMYKcmyk(0%, 11.2%, 74.7%, 30.2%)
CIE-LABlab(65.05, -4.95, 58.01)
CIE-LCHlch(65.05, 58.22, 94.88°)
OKLaboklab(69.7% -0.0197 0.1277)
OKLCHoklch(69.7% 0.129 98.8)
XYZxyz(31.0621, 34.1097, 7.4298)
Luminance0.3411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29E2D #2D41B2
analogous
#B25B2D #B29E2D #83B22D
triadic
#B29E2D #2DB29E #9E2DB2
tetradic
#B29E2D #2DB25B #2D41B2 #B22D83
square
#B29E2D #2DB25B #2D41B2 #B22D83
split-complementary
#B29E2D #2D83B2 #5B2DB2
monochromatic
#504714 #817321 #B29E2D #D1BD4B #DECF7C

Accessibility & contrast

On white

2.68
#B29E2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#B29E2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29E2D
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29E2D#FFFFFF#000000##000000
##B29E2D1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A19
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#C09288
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b29e2d;
/* rgb */ color: rgb(178, 158, 45);
/* oklch */ color: oklch(69.7% 0.129 98.8);
Tailwind
colors: {
  custom: {
    50: '#cdba6e',
    500: '#b29e2d',
    950: '#000000',
  },
}
SCSS
$custom: #b29e2d;
$custom-light: #cdba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b29e2d",
  "rgb": {
    "r": 178,
    "g": 158,
    "b": 45
  },
  "hsl": {
    "h": 50.977,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69704,
    "c": 0.12923,
    "h": 98.8
  },
  "luminance": 0.34108
}

Semantic roles & 50–950 ramp

primary
#B29E2D
secondary
#7581C6
accent
#5DE345
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B29E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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