#B28F22#B28F22

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

Color values

HEX#B28F22
RGBrgb(178, 143, 34)
HSLhsl(45, 68%, 42%)
HSVhsv(45, 81%, 70%)
CMYKcmyk(0%, 19.7%, 80.9%, 30.2%)
CIE-LABlab(60.98, 2.74, 58.11)
CIE-LCHlch(60.98, 58.17, 87.30°)
OKLaboklab(66.47% 0.001 0.1256)
OKLCHoklch(66.47% 0.126 89.5)
XYZxyz(28.4730, 29.2273, 5.6548)
Luminance0.2923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28F22 #2245B2
analogous
#B24722 #B28F22 #8DB222
triadic
#B28F22 #22B28F #8F22B2
tetradic
#B28F22 #22B247 #2245B2 #B2228D
square
#B28F22 #22B247 #2245B2 #B2228D
split-complementary
#B28F22 #228DB2 #4722B2
monochromatic
#4B3C0E #7F6618 #B28F22 #D9B238 #E3C66C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B28F22#FFFFFF#000000##000000
##B28F221.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)
#A08E06
Deuteranopia (green-blind)
#A99729
Tritanopia (blue-blind)
#C1827B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b28f22;
/* rgb */ color: rgb(178, 143, 34);
/* oklch */ color: oklch(66.5% 0.126 89.5);
Tailwind
colors: {
  custom: {
    50: '#ceaf67',
    500: '#b28f22',
    950: '#000000',
  },
}
SCSS
$custom: #b28f22;
$custom-light: #ceaf67;
$custom-dark: #000000;
JSON
{
  "hex": "#b28f22",
  "rgb": {
    "r": 178,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 45.417,
    "s": 67.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66469,
    "c": 0.12563,
    "h": 89.5
  },
  "luminance": 0.29225
}

Semantic roles & 50–950 ramp

primary
#B28F22
secondary
#677FC9
accent
#67EB3D
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #B28F22

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

Preview Lab → · Contrast checker → · Palette generator →

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