#B28E1F#B28E1F

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

Color values

HEX#B28E1F
RGBrgb(178, 142, 31)
HSLhsl(45, 70%, 41%)
HSVhsv(45, 83%, 70%)
CMYKcmyk(0%, 20.2%, 82.6%, 30.2%)
CIE-LABlab(60.70, 3.19, 58.83)
CIE-LCHlch(60.70, 58.91, 86.90°)
OKLaboklab(66.25% 0.002 0.1265)
OKLCHoklch(66.25% 0.127 89.1)
XYZxyz(28.2822, 28.9118, 5.3870)
Luminance0.2891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28E1F #1F43B2
analogous
#B2441F #B28E1F #8CB21F
triadic
#B28E1F #1FB28E #8E1FB2
tetradic
#B28E1F #1FB244 #1F43B2 #B21F8C
square
#B28E1F #1FB244 #1F43B2 #B21F8C
split-complementary
#B28E1F #1F8CB2 #441FB2
monochromatic
#4A3B0D #7E6416 #B28E1F #DBB233 #E5C667

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B28E1F#FFFFFF#000000##000000
##B28E1F1.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)
#A89726
Tritanopia (blue-blind)
#C1817A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b28e1f;
/* rgb */ color: rgb(178, 142, 31);
/* oklch */ color: oklch(66.2% 0.127 89.1);
Tailwind
colors: {
  custom: {
    50: '#ceae66',
    500: '#b28e1f',
    950: '#000000',
  },
}
SCSS
$custom: #b28e1f;
$custom-light: #ceae66;
$custom-dark: #000000;
JSON
{
  "hex": "#b28e1f",
  "rgb": {
    "r": 178,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 45.306,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66246,
    "c": 0.12655,
    "h": 89.1
  },
  "luminance": 0.2891
}

Semantic roles & 50–950 ramp

primary
#B28E1F
secondary
#637CCA
accent
#66ED3B
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #B28E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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