#B28E21#B28E21

#B28E21 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 66.3% C 0.126 H 88.9°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#B28E21
RGBrgb(178, 142, 33)
HSLhsl(45, 69%, 41%)
HSVhsv(45, 81%, 70%)
CMYKcmyk(0%, 20.2%, 81.5%, 30.2%)
CIE-LABlab(60.71, 3.25, 58.20)
CIE-LCHlch(60.71, 58.29, 86.80°)
OKLaboklab(66.26% 0.0024 0.1256)
OKLCHoklch(66.26% 0.126 88.9)
XYZxyz(28.3094, 28.9227, 5.5301)
Luminance0.2892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28E21 #2145B2
analogous
#B24521 #B28E21 #8EB221
triadic
#B28E21 #21B28E #8E21B2
tetradic
#B28E21 #21B245 #2145B2 #B2218E
square
#B28E21 #21B245 #2145B2 #B2218E
split-complementary
#B28E21 #218EB2 #4521B2
monochromatic
#4B3C0E #7E6517 #B28E21 #DAB136 #E3C56A

Accessibility & contrast

On white

3.10
#B28E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#B28E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B28E21
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28E21#FFFFFF#000000##000000
##B28E211.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D04
Deuteranopia (green-blind)
#A89728
Tritanopia (blue-blind)
#C1817A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b28e21;
/* rgb */ color: rgb(178, 142, 33);
/* oklch */ color: oklch(66.3% 0.126 88.9);
Tailwind
colors: {
  custom: {
    50: '#ceae67',
    500: '#b28e21',
    950: '#000000',
  },
}
SCSS
$custom: #b28e21;
$custom-light: #ceae67;
$custom-dark: #000000;
JSON
{
  "hex": "#b28e21",
  "rgb": {
    "r": 178,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 45.103,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66256,
    "c": 0.12563,
    "h": 88.9
  },
  "luminance": 0.28921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B28E21

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

Preview Lab → · Contrast checker → · Palette generator →

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