#B28F21#B28F21

#B28F21 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 66.5% C 0.126 H 89.6°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#B28F21
RGBrgb(178, 143, 33)
HSLhsl(46, 69%, 41%)
HSVhsv(46, 81%, 70%)
CMYKcmyk(0%, 19.7%, 81.5%, 30.2%)
CIE-LABlab(60.98, 2.70, 58.43)
CIE-LCHlch(60.98, 58.49, 87.35°)
OKLaboklab(66.46% 0.0008 0.1261)
OKLCHoklch(66.46% 0.126 89.6)
XYZxyz(28.4588, 29.2216, 5.5800)
Luminance0.2922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28F21 #2144B2
analogous
#B24721 #B28F21 #8DB221
triadic
#B28F21 #21B28F #8F21B2
tetradic
#B28F21 #21B247 #2144B2 #B2218D
square
#B28F21 #21B247 #2144B2 #B2218D
split-complementary
#B28F21 #218DB2 #4721B2
monochromatic
#4B3C0E #7E6617 #B28F21 #DAB236 #E3C66A

Accessibility & contrast

On white

3.07
#B28F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#B28F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B28F21
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28F21#FFFFFF#000000##000000
##B28F211.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E03
Deuteranopia (green-blind)
#A99728
Tritanopia (blue-blind)
#C1827B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b28f21;
/* rgb */ color: rgb(178, 143, 33);
/* oklch */ color: oklch(66.5% 0.126 89.6);
Tailwind
colors: {
  custom: {
    50: '#ceaf67',
    500: '#b28f21',
    950: '#000000',
  },
}
SCSS
$custom: #b28f21;
$custom-light: #ceaf67;
$custom-dark: #000000;
JSON
{
  "hex": "#b28f21",
  "rgb": {
    "r": 178,
    "g": 143,
    "b": 33
  },
  "hsl": {
    "h": 45.517,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66464,
    "c": 0.12611,
    "h": 89.6
  },
  "luminance": 0.2922
}

Semantic roles & 50–950 ramp

primary
#B28F21
secondary
#667EC9
accent
#67EC3C
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #B28F21

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

Preview Lab → · Contrast checker → · Palette generator →

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