#B8A83D#B8A83D

#B8A83D is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.5% C 0.127 H 100.7°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#B8A83D
RGBrgb(184, 168, 61)
HSLhsl(52, 50%, 48%)
HSVhsv(52, 67%, 72%)
CMYKcmyk(0%, 8.7%, 66.8%, 27.8%)
CIE-LABlab(68.41, -6.79, 55.22)
CIE-LCHlch(68.41, 55.63, 97.01°)
OKLaboklab(72.54% -0.0236 0.1245)
OKLCHoklch(72.54% 0.127 100.7)
XYZxyz(34.6136, 38.5340, 10.0285)
Luminance0.3853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A83D #3D4DB8
analogous
#B86A3D #B8A83D #8AB83D
triadic
#B8A83D #3DB8A8 #A83DB8
tetradic
#B8A83D #3DB86A #3D4DB8 #B83D8A
square
#B8A83D #3DB86A #3D4DB8 #B83D8A
split-complementary
#B8A83D #3D8AB8 #6A3DB8
monochromatic
#5C541F #8A7E2E #B8A83D #CCBF66 #DBD294

Accessibility & contrast

On white

2.41
#B8A83D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#B8A83D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A83D
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A83D#FFFFFF#000000##000000
##B8A83D1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A32F
Deuteranopia (green-blind)
#BCAA43
Tritanopia (blue-blind)
#C69C92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a83d;
/* rgb */ color: rgb(184, 168, 61);
/* oklch */ color: oklch(72.5% 0.127 100.7);
Tailwind
colors: {
  custom: {
    50: '#d1c178',
    500: '#b8a83d',
    950: '#000000',
  },
}
SCSS
$custom: #b8a83d;
$custom-light: #d1c178;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a83d",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 61
  },
  "hsl": {
    "h": 52.195,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72538,
    "c": 0.12668,
    "h": 100.7
  },
  "luminance": 0.38533
}

Semantic roles & 50–950 ramp

primary
#B8A83D
secondary
#8A92C7
accent
#60DA4E
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A83D

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

Preview Lab → · Contrast checker → · Palette generator →

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