#B28E22#B28E22

#B28E22 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 66.3% C 0.125 H 88.8°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#B28E22
RGBrgb(178, 142, 34)
HSLhsl(45, 68%, 42%)
HSVhsv(45, 81%, 70%)
CMYKcmyk(0%, 20.2%, 80.9%, 30.2%)
CIE-LABlab(60.72, 3.29, 57.87)
CIE-LCHlch(60.72, 57.97, 86.75°)
OKLaboklab(66.26% 0.0026 0.1251)
OKLCHoklch(66.26% 0.125 88.8)
XYZxyz(28.3236, 28.9284, 5.6050)
Luminance0.2893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28E22 #2246B2
analogous
#B24622 #B28E22 #8EB222
triadic
#B28E22 #22B28E #8E22B2
tetradic
#B28E22 #22B246 #2246B2 #B2228E
square
#B28E22 #22B246 #2246B2 #B2228E
split-complementary
#B28E22 #228EB2 #4622B2
monochromatic
#4B3C0E #7F6518 #B28E22 #D9B138 #E3C56C

Accessibility & contrast

On white

3.09
#B28E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#B28E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B28E22
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28E22#FFFFFF#000000##000000
##B28E221.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D07
Deuteranopia (green-blind)
#A89729
Tritanopia (blue-blind)
#C1817A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b28e22;
/* rgb */ color: rgb(178, 142, 34);
/* oklch */ color: oklch(66.3% 0.125 88.8);
Tailwind
colors: {
  custom: {
    50: '#ceae67',
    500: '#b28e22',
    950: '#000000',
  },
}
SCSS
$custom: #b28e22;
$custom-light: #ceae67;
$custom-dark: #000000;
JSON
{
  "hex": "#b28e22",
  "rgb": {
    "r": 178,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 45,
    "s": 67.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66262,
    "c": 0.12516,
    "h": 88.8
  },
  "luminance": 0.28926
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B28E22

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

Preview Lab → · Contrast checker → · Palette generator →

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