#B28F25#B28F25

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

Color values

HEX#B28F25
RGBrgb(178, 143, 37)
HSLhsl(45, 66%, 42%)
HSVhsv(45, 79%, 70%)
CMYKcmyk(0%, 19.7%, 79.2%, 30.2%)
CIE-LABlab(61.00, 2.85, 57.10)
CIE-LCHlch(61.00, 57.17, 87.15°)
OKLaboklab(66.49% 0.0016 0.1241)
OKLCHoklch(66.49% 0.124 89.3)
XYZxyz(28.5182, 29.2454, 5.8928)
Luminance0.2924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28F25 #2548B2
analogous
#B24825 #B28F25 #8FB225
triadic
#B28F25 #25B28F #8F25B2
tetradic
#B28F25 #25B248 #2548B2 #B2258F
square
#B28F25 #25B248 #2548B2 #B2258F
split-complementary
#B28F25 #258FB2 #4825B2
monochromatic
#4D3E10 #7F661A #B28F25 #D7B13D #E1C570

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B28F25#FFFFFF#000000##000000
##B28F251.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)
#A08E0E
Deuteranopia (green-blind)
#A9972B
Tritanopia (blue-blind)
#C1827B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b28f25;
/* rgb */ color: rgb(178, 143, 37);
/* oklch */ color: oklch(66.5% 0.124 89.3);
Tailwind
colors: {
  custom: {
    50: '#cdaf69',
    500: '#b28f25',
    950: '#000000',
  },
}
SCSS
$custom: #b28f25;
$custom-light: #cdaf69;
$custom-dark: #000000;
JSON
{
  "hex": "#b28f25",
  "rgb": {
    "r": 178,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 45.106,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66487,
    "c": 0.12413,
    "h": 89.3
  },
  "luminance": 0.29243
}

Semantic roles & 50–950 ramp

primary
#B28F25
secondary
#6B82C8
accent
#69E93F
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #B28F25

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

Preview Lab → · Contrast checker → · Palette generator →

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