#B08F28#B08F28

#B08F28 is a light, vivid yellow. Relative luminance 0.290; OKLCH L 66.3% C 0.122 H 90.1°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#B08F28
RGBrgb(176, 143, 40)
HSLhsl(45, 63%, 42%)
HSVhsv(45, 77%, 69%)
CMYKcmyk(0%, 18.7%, 77.3%, 31%)
CIE-LABlab(60.81, 2.06, 55.78)
CIE-LCHlch(60.81, 55.81, 87.88°)
OKLaboklab(66.3% -0.0002 0.122)
OKLCHoklch(66.3% 0.122 90.1)
XYZxyz(28.1116, 29.0300, 6.1298)
Luminance0.2903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08F28 #2849B0
analogous
#B04B28 #B08F28 #8DB028
triadic
#B08F28 #28B08F #8F28B0
tetradic
#B08F28 #28B04B #2849B0 #B0288D
square
#B08F28 #28B04B #2849B0 #B0288D
split-complementary
#B08F28 #288DB0 #4B28B0
monochromatic
#4C3E11 #7E661D #B08F28 #D4B041 #DFC573

Accessibility & contrast

On white

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

On black

6.81
#B08F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B08F28
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08F28#FFFFFF#000000##000000
##B08F281.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D15
Deuteranopia (green-blind)
#A8972E
Tritanopia (blue-blind)
#BF827B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b08f28;
/* rgb */ color: rgb(176, 143, 40);
/* oklch */ color: oklch(66.3% 0.122 90.1);
Tailwind
colors: {
  custom: {
    50: '#ccaf6a',
    500: '#b08f28',
    950: '#000000',
  },
}
SCSS
$custom: #b08f28;
$custom-light: #ccaf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b08f28",
  "rgb": {
    "r": 176,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 45.441,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66296,
    "c": 0.12202,
    "h": 90.1
  },
  "luminance": 0.29028
}

Semantic roles & 50–950 ramp

primary
#B08F28
secondary
#6D83C6
accent
#6AE642
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #B08F28

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

Preview Lab → · Contrast checker → · Palette generator →

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