#B29F23#B29F23

#B29F23 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.9% C 0.135 H 99.9°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#B29F23
RGBrgb(178, 159, 35)
HSLhsl(52, 67%, 42%)
HSVhsv(52, 80%, 70%)
CMYKcmyk(0%, 10.7%, 80.3%, 30.2%)
CIE-LABlab(65.27, -5.88, 61.59)
CIE-LCHlch(65.27, 61.87, 95.45°)
OKLaboklab(69.86% -0.0233 0.1334)
OKLCHoklch(69.86% 0.135 99.9)
XYZxyz(31.0632, 34.3841, 6.5904)
Luminance0.3438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29F23 #2336B2
analogous
#B25823 #B29F23 #7EB223
triadic
#B29F23 #23B29F #9F23B2
tetradic
#B29F23 #23B258 #2336B2 #B2237E
square
#B29F23 #23B258 #2336B2 #B2237E
split-complementary
#B29F23 #237EB2 #5823B2
monochromatic
#4C440F #7F7119 #B29F23 #D8C33A #E2D36D

Accessibility & contrast

On white

2.67
#B29F23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#B29F23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29F23
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29F23#FFFFFF#000000##000000
##B29F231.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#B4A12D
Tritanopia (blue-blind)
#C09388
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b29f23;
/* rgb */ color: rgb(178, 159, 35);
/* oklch */ color: oklch(69.9% 0.135 99.9);
Tailwind
colors: {
  custom: {
    50: '#cdbb6a',
    500: '#b29f23',
    950: '#000000',
  },
}
SCSS
$custom: #b29f23;
$custom-light: #cdbb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b29f23",
  "rgb": {
    "r": 178,
    "g": 159,
    "b": 35
  },
  "hsl": {
    "h": 52.028,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69859,
    "c": 0.13539,
    "h": 99.9
  },
  "luminance": 0.34383
}

Semantic roles & 50–950 ramp

primary
#B29F23
secondary
#6875C9
accent
#55EA3E
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B29F23

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

Preview Lab → · Contrast checker → · Palette generator →

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