#B08B1A#B08B1A

#B08B1A is a light, vivid yellow. Relative luminance 0.278; OKLCH L 65.4% C 0.127 H 88.5°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#B08B1A
RGBrgb(176, 139, 26)
HSLhsl(45, 74%, 40%)
HSVhsv(45, 85%, 69%)
CMYKcmyk(0%, 21%, 85.2%, 31%)
CIE-LABlab(59.68, 3.78, 59.35)
CIE-LCHlch(59.68, 59.48, 86.35°)
OKLaboklab(65.39% 0.0034 0.1267)
OKLCHoklch(65.39% 0.127 88.5)
XYZxyz(27.3253, 27.7718, 4.8984)
Luminance0.2777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B08B1A #1A3FB0
analogous
#B0401A #B08B1A #8AB01A
triadic
#B08B1A #1AB08B #8B1AB0
tetradic
#B08B1A #1AB040 #1A3FB0 #B01A8A
square
#B08B1A #1AB040 #1A3FB0 #B01A8A
split-complementary
#B08B1A #1A8AB0 #401AB0
monochromatic
#45370A #7B6112 #B08B1A #DFB228 #E7C55D

Accessibility & contrast

On white

3.20
#B08B1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#B08B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B08B1A
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B08B1A#FFFFFF#000000##000000
##B08B1A1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#A69422
Tritanopia (blue-blind)
#BF7E77
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b08b1a;
/* rgb */ color: rgb(176, 139, 26);
/* oklch */ color: oklch(65.4% 0.127 88.5);
Tailwind
colors: {
  custom: {
    50: '#ccac63',
    500: '#b08b1a',
    950: '#000000',
  },
}
SCSS
$custom: #b08b1a;
$custom-light: #ccac63;
$custom-dark: #000000;
JSON
{
  "hex": "#b08b1a",
  "rgb": {
    "r": 176,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 45.2,
    "s": 74.257,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65386,
    "c": 0.12676,
    "h": 88.5
  },
  "luminance": 0.2777
}

Semantic roles & 50–950 ramp

primary
#B08B1A
secondary
#5B76CB
accent
#65F137
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #B08B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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