#B8A63D#B8A63D

#B8A63D is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.1% C 0.125 H 99.5°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#B8A63D
RGBrgb(184, 166, 61)
HSLhsl(51, 50%, 48%)
HSVhsv(51, 67%, 72%)
CMYKcmyk(0%, 9.8%, 66.8%, 27.8%)
CIE-LABlab(67.87, -5.73, 54.66)
CIE-LCHlch(67.87, 54.96, 95.99°)
OKLaboklab(72.11% -0.0206 0.1233)
OKLCHoklch(72.11% 0.125 99.5)
XYZxyz(34.2472, 37.8013, 9.9064)
Luminance0.3780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A63D #3D4FB8
analogous
#B8693D #B8A63D #8CB83D
triadic
#B8A63D #3DB8A6 #A63DB8
tetradic
#B8A63D #3DB869 #3D4FB8 #B83D8C
square
#B8A63D #3DB869 #3D4FB8 #B83D8C
split-complementary
#B8A63D #3D8CB8 #693DB8
monochromatic
#5C531F #8A7D2E #B8A63D #CCBD66 #DBD194

Accessibility & contrast

On white

2.45
#B8A63D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#B8A63D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A63D
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A63D#FFFFFF#000000##000000
##B8A63D1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A22F
Deuteranopia (green-blind)
#BAA843
Tritanopia (blue-blind)
#C69A90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a63d;
/* rgb */ color: rgb(184, 166, 61);
/* oklch */ color: oklch(72.1% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#d1c078',
    500: '#b8a63d',
    950: '#000000',
  },
}
SCSS
$custom: #b8a63d;
$custom-light: #d1c078;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a63d",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 61
  },
  "hsl": {
    "h": 51.22,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72111,
    "c": 0.12498,
    "h": 99.5
  },
  "luminance": 0.378
}

Semantic roles & 50–950 ramp

primary
#B8A63D
secondary
#8A93C7
accent
#63DA4E
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A63D

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

Preview Lab → · Contrast checker → · Palette generator →

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