#B28E1E#B28E1E

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

Color values

HEX#B28E1E
RGBrgb(178, 142, 30)
HSLhsl(45, 71%, 41%)
HSVhsv(45, 83%, 70%)
CMYKcmyk(0%, 20.2%, 83.1%, 30.2%)
CIE-LABlab(60.70, 3.16, 59.13)
CIE-LCHlch(60.70, 59.21, 86.94°)
OKLaboklab(66.24% 0.0018 0.127)
OKLCHoklch(66.24% 0.127 89.2)
XYZxyz(28.2692, 28.9066, 5.3186)
Luminance0.2890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28E1E #1E42B2
analogous
#B2441E #B28E1E #8CB21E
triadic
#B28E1E #1EB28E #8E1EB2
tetradic
#B28E1E #1EB244 #1E42B2 #B21E8C
square
#B28E1E #1EB244 #1E42B2 #B21E8C
split-complementary
#B28E1E #1E8CB2 #441EB2
monochromatic
#493A0C #7E6415 #B28E1E #DCB331 #E5C665

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B28E1E#FFFFFF#000000##000000
##B28E1E1.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)
#A08D00
Deuteranopia (green-blind)
#A89625
Tritanopia (blue-blind)
#C1817A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b28e1e;
/* rgb */ color: rgb(178, 142, 30);
/* oklch */ color: oklch(66.2% 0.127 89.2);
Tailwind
colors: {
  custom: {
    50: '#ceae65',
    500: '#b28e1e',
    950: '#000000',
  },
}
SCSS
$custom: #b28e1e;
$custom-light: #ceae65;
$custom-dark: #000000;
JSON
{
  "hex": "#b28e1e",
  "rgb": {
    "r": 178,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 45.405,
    "s": 71.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66241,
    "c": 0.12699,
    "h": 89.2
  },
  "luminance": 0.28905
}

Semantic roles & 50–950 ramp

primary
#B28E1E
secondary
#627BCA
accent
#66EE3A
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #B28E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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