#B29928#B29928

#B29928 is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.6% C 0.128 H 95.9°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#B29928
RGBrgb(178, 153, 40)
HSLhsl(49, 63%, 43%)
HSVhsv(49, 78%, 70%)
CMYKcmyk(0%, 14%, 77.5%, 30.2%)
CIE-LABlab(63.67, -2.48, 58.51)
CIE-LCHlch(63.67, 58.56, 92.42°)
OKLaboklab(68.61% -0.0132 0.1278)
OKLCHoklch(68.61% 0.128 95.9)
XYZxyz(30.1360, 32.4023, 6.6740)
Luminance0.3240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29928 #2841B2
analogous
#B25428 #B29928 #86B228
triadic
#B29928 #28B299 #9928B2
tetradic
#B29928 #28B254 #2841B2 #B22886
square
#B29928 #28B254 #2841B2 #B22886
split-complementary
#B29928 #2886B2 #5428B2
monochromatic
#4E4312 #806E1D #B29928 #D5BA43 #E0CC75

Accessibility & contrast

On white

2.81
#B29928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#B29928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29928
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29928#FFFFFF#000000##000000
##B299281.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99610
Deuteranopia (green-blind)
#B09E2F
Tritanopia (blue-blind)
#C18D83
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b29928;
/* rgb */ color: rgb(178, 153, 40);
/* oklch */ color: oklch(68.6% 0.128 95.9);
Tailwind
colors: {
  custom: {
    50: '#cdb66b',
    500: '#b29928',
    950: '#000000',
  },
}
SCSS
$custom: #b29928;
$custom-light: #cdb66b;
$custom-dark: #000000;
JSON
{
  "hex": "#b29928",
  "rgb": {
    "r": 178,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 49.13,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68605,
    "c": 0.12846,
    "h": 95.9
  },
  "luminance": 0.32401
}

Semantic roles & 50–950 ramp

primary
#B29928
secondary
#6F7FC7
accent
#5FE641
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B29928

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

Preview Lab → · Contrast checker → · Palette generator →

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