#B28F20#B28F20

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

Color values

HEX#B28F20
RGBrgb(178, 143, 32)
HSLhsl(46, 70%, 41%)
HSVhsv(46, 82%, 70%)
CMYKcmyk(0%, 19.7%, 82%, 30.2%)
CIE-LABlab(60.97, 2.67, 58.75)
CIE-LCHlch(60.97, 58.81, 87.40°)
OKLaboklab(66.46% 0.0006 0.1266)
OKLCHoklch(66.46% 0.127 89.7)
XYZxyz(28.4450, 29.2161, 5.5073)
Luminance0.2921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28F20 #2043B2
analogous
#B24620 #B28F20 #8CB220
triadic
#B28F20 #20B28F #8F20B2
tetradic
#B28F20 #20B246 #2043B2 #B2208C
square
#B28F20 #20B246 #2043B2 #B2208C
split-complementary
#B28F20 #208CB2 #4620B2
monochromatic
#4A3C0D #7E6517 #B28F20 #DBB335 #E4C668

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B28F20#FFFFFF#000000##000000
##B28F201.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)
#A08D01
Deuteranopia (green-blind)
#A99727
Tritanopia (blue-blind)
#C1827B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b28f20;
/* rgb */ color: rgb(178, 143, 32);
/* oklch */ color: oklch(66.5% 0.127 89.7);
Tailwind
colors: {
  custom: {
    50: '#ceaf66',
    500: '#b28f20',
    950: '#000000',
  },
}
SCSS
$custom: #b28f20;
$custom-light: #ceaf66;
$custom-dark: #000000;
JSON
{
  "hex": "#b28f20",
  "rgb": {
    "r": 178,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 45.616,
    "s": 69.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66458,
    "c": 0.12658,
    "h": 89.7
  },
  "luminance": 0.29214
}

Semantic roles & 50–950 ramp

primary
#B28F20
secondary
#647DCA
accent
#66EC3B
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #B28F20

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

Preview Lab → · Contrast checker → · Palette generator →

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