#B28F1F#B28F1F

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

Color values

HEX#B28F1F
RGBrgb(178, 143, 31)
HSLhsl(46, 70%, 41%)
HSVhsv(46, 83%, 70%)
CMYKcmyk(0%, 19.7%, 82.6%, 30.2%)
CIE-LABlab(60.97, 2.64, 59.05)
CIE-LCHlch(60.97, 59.11, 87.44°)
OKLaboklab(66.45% 0.0004 0.127)
OKLCHoklch(66.45% 0.127 89.8)
XYZxyz(28.4316, 29.2107, 5.4368)
Luminance0.2921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28F1F #1F42B2
analogous
#B2451F #B28F1F #8BB21F
triadic
#B28F1F #1FB28F #8F1FB2
tetradic
#B28F1F #1FB245 #1F42B2 #B21F8B
square
#B28F1F #1FB245 #1F42B2 #B21F8B
split-complementary
#B28F1F #1F8BB2 #451FB2
monochromatic
#4A3B0D #7E6516 #B28F1F #DBB333 #E5C767

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B28F1F#FFFFFF#000000##000000
##B28F1F1.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)
#A18D00
Deuteranopia (green-blind)
#A99726
Tritanopia (blue-blind)
#C1827A
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b28f1f;
/* rgb */ color: rgb(178, 143, 31);
/* oklch */ color: oklch(66.5% 0.127 89.8);
Tailwind
colors: {
  custom: {
    50: '#ceaf66',
    500: '#b28f1f',
    950: '#000000',
  },
}
SCSS
$custom: #b28f1f;
$custom-light: #ceaf66;
$custom-dark: #000000;
JSON
{
  "hex": "#b28f1f",
  "rgb": {
    "r": 178,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 45.714,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66453,
    "c": 0.12703,
    "h": 89.8
  },
  "luminance": 0.29209
}

Semantic roles & 50–950 ramp

primary
#B28F1F
secondary
#637BCA
accent
#65ED3B
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #B28F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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