#B28F24#B28F24

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

Color values

HEX#B28F24
RGBrgb(178, 143, 36)
HSLhsl(45, 66%, 42%)
HSVhsv(45, 80%, 70%)
CMYKcmyk(0%, 19.7%, 79.8%, 30.2%)
CIE-LABlab(60.99, 2.81, 57.44)
CIE-LCHlch(60.99, 57.51, 87.20°)
OKLaboklab(66.48% 0.0014 0.1246)
OKLCHoklch(66.48% 0.125 89.4)
XYZxyz(28.5027, 29.2392, 5.8112)
Luminance0.2924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28F24 #2447B2
analogous
#B24824 #B28F24 #8EB224
triadic
#B28F24 #24B28F #8F24B2
tetradic
#B28F24 #24B248 #2447B2 #B2248E
square
#B28F24 #24B248 #2447B2 #B2248E
split-complementary
#B28F24 #248EB2 #4824B2
monochromatic
#4C3D0F #7F661A #B28F24 #D8B13C #E2C56F

Accessibility & contrast

On white

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

On black

6.85
#B28F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B28F24
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28F24#FFFFFF#000000##000000
##B28F241.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E0C
Deuteranopia (green-blind)
#A9972A
Tritanopia (blue-blind)
#C1827B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b28f24;
/* rgb */ color: rgb(178, 143, 36);
/* oklch */ color: oklch(66.5% 0.125 89.4);
Tailwind
colors: {
  custom: {
    50: '#ceaf68',
    500: '#b28f24',
    950: '#000000',
  },
}
SCSS
$custom: #b28f24;
$custom-light: #ceaf68;
$custom-dark: #000000;
JSON
{
  "hex": "#b28f24",
  "rgb": {
    "r": 178,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 45.211,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66481,
    "c": 0.12465,
    "h": 89.4
  },
  "luminance": 0.29237
}

Semantic roles & 50–950 ramp

primary
#B28F24
secondary
#6981C8
accent
#69E93F
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #B28F24

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

Preview Lab → · Contrast checker → · Palette generator →

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