#B29D23#B29D23

#B29D23 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.4% C 0.134 H 98.7°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#B29D23
RGBrgb(178, 157, 35)
HSLhsl(51, 67%, 42%)
HSVhsv(51, 80%, 70%)
CMYKcmyk(0%, 11.8%, 80.3%, 30.2%)
CIE-LABlab(64.73, -4.81, 61.11)
CIE-LCHlch(64.73, 61.30, 94.50°)
OKLaboklab(69.43% -0.0203 0.1323)
OKLCHoklch(69.43% 0.134 98.7)
XYZxyz(30.7220, 33.7019, 6.4767)
Luminance0.3370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29D23 #2338B2
analogous
#B25623 #B29D23 #80B223
triadic
#B29D23 #23B29D #9D23B2
tetradic
#B29D23 #23B256 #2338B2 #B22380
square
#B29D23 #23B256 #2338B2 #B22380
split-complementary
#B29D23 #2380B2 #5623B2
monochromatic
#4C430F #7F7019 #B29D23 #D8C13A #E2D16D

Accessibility & contrast

On white

2.71
#B29D23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#B29D23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29D23
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29D23#FFFFFF#000000##000000
##B29D231.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#B3A02C
Tritanopia (blue-blind)
#C09186
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b29d23;
/* rgb */ color: rgb(178, 157, 35);
/* oklch */ color: oklch(69.4% 0.134 98.7);
Tailwind
colors: {
  custom: {
    50: '#cdb969',
    500: '#b29d23',
    950: '#000000',
  },
}
SCSS
$custom: #b29d23;
$custom-light: #cdb969;
$custom-dark: #000000;
JSON
{
  "hex": "#b29d23",
  "rgb": {
    "r": 178,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 51.189,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6943,
    "c": 0.13387,
    "h": 98.7
  },
  "luminance": 0.337
}

Semantic roles & 50–950 ramp

primary
#B29D23
secondary
#6876C9
accent
#57EA3E
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #B29D23

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

Preview Lab → · Contrast checker → · Palette generator →

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