#B08F27#B08F27

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

Color values

HEX#B08F27
RGBrgb(176, 143, 39)
HSLhsl(46, 64%, 42%)
HSVhsv(46, 78%, 69%)
CMYKcmyk(0%, 18.7%, 77.8%, 31%)
CIE-LABlab(60.80, 2.02, 56.14)
CIE-LCHlch(60.80, 56.17, 87.94°)
OKLaboklab(66.29% -0.0004 0.1226)
OKLCHoklch(66.29% 0.123 90.2)
XYZxyz(28.0948, 29.0233, 6.0414)
Luminance0.2902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08F27 #2748B0
analogous
#B04A27 #B08F27 #8DB027
triadic
#B08F27 #27B08F #8F27B0
tetradic
#B08F27 #27B04A #2748B0 #B0278D
square
#B08F27 #27B04A #2748B0 #B0278D
split-complementary
#B08F27 #278DB0 #4A27B0
monochromatic
#4C3E11 #7E661C #B08F27 #D5B140 #E0C572

Accessibility & contrast

On white

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

On black

6.80
#B08F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B08F27
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08F27#FFFFFF#000000##000000
##B08F271.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b08f27;
/* rgb */ color: rgb(176, 143, 39);
/* oklch */ color: oklch(66.3% 0.123 90.2);
Tailwind
colors: {
  custom: {
    50: '#ccaf6a',
    500: '#b08f27',
    950: '#000000',
  },
}
SCSS
$custom: #b08f27;
$custom-light: #ccaf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b08f27",
  "rgb": {
    "r": 176,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 45.547,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66289,
    "c": 0.12258,
    "h": 90.2
  },
  "luminance": 0.29022
}

Semantic roles & 50–950 ramp

primary
#B08F27
secondary
#6C82C7
accent
#69E741
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #B08F27

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

Preview Lab → · Contrast checker → · Palette generator →

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