#B28D1E#B28D1E

#B28D1E is a light, vivid yellow. Relative luminance 0.286; OKLCH L 66.0% C 0.127 H 88.5°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#B28D1E
RGBrgb(178, 141, 30)
HSLhsl(45, 71%, 41%)
HSVhsv(45, 83%, 70%)
CMYKcmyk(0%, 20.8%, 83.1%, 30.2%)
CIE-LABlab(60.44, 3.71, 58.90)
CIE-LCHlch(60.44, 59.02, 86.40°)
OKLaboklab(66.03% 0.0034 0.1265)
OKLCHoklch(66.03% 0.127 88.5)
XYZxyz(28.1211, 28.6104, 5.2693)
Luminance0.2861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28D1E #1E43B2
analogous
#B2431E #B28D1E #8DB21E
triadic
#B28D1E #1EB28D #8D1EB2
tetradic
#B28D1E #1EB243 #1E43B2 #B21E8D
square
#B28D1E #1EB243 #1E43B2 #B21E8D
split-complementary
#B28D1E #1E8DB2 #431EB2
monochromatic
#493A0C #7E6415 #B28D1E #DCB131 #E5C565

Accessibility & contrast

On white

3.12
#B28D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#B28D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B28D1E
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28D1E#FFFFFF#000000##000000
##B28D1E1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#A89625
Tritanopia (blue-blind)
#C18079
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b28d1e;
/* rgb */ color: rgb(178, 141, 30);
/* oklch */ color: oklch(66.0% 0.127 88.5);
Tailwind
colors: {
  custom: {
    50: '#cead65',
    500: '#b28d1e',
    950: '#000000',
  },
}
SCSS
$custom: #b28d1e;
$custom-light: #cead65;
$custom-dark: #000000;
JSON
{
  "hex": "#b28d1e",
  "rgb": {
    "r": 178,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 45,
    "s": 71.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66034,
    "c": 0.12653,
    "h": 88.5
  },
  "luminance": 0.28608
}

Semantic roles & 50–950 ramp

primary
#B28D1E
secondary
#627CCA
accent
#67EE3A
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #B28D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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