#B8A03D#B8A03D

#B8A03D is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.120 H 95.5°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#B8A03D
RGBrgb(184, 160, 61)
HSLhsl(48, 50%, 48%)
HSVhsv(48, 67%, 72%)
CMYKcmyk(0%, 13%, 66.8%, 27.8%)
CIE-LABlab(66.27, -2.54, 52.98)
CIE-LCHlch(66.27, 53.04, 92.74°)
OKLaboklab(70.84% -0.0114 0.1197)
OKLCHoklch(70.84% 0.12 95.5)
XYZxyz(33.1818, 35.6706, 9.5513)
Luminance0.3567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A03D #3D55B8
analogous
#B8633D #B8A03D #92B83D
triadic
#B8A03D #3DB8A0 #A03DB8
tetradic
#B8A03D #3DB863 #3D55B8 #B83D92
square
#B8A03D #3DB863 #3D55B8 #B83D92
split-complementary
#B8A03D #3D92B8 #633DB8
monochromatic
#5C501F #8A782E #B8A03D #CCB866 #DBCE94

Accessibility & contrast

On white

2.58
#B8A03D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#B8A03D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A03D
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A03D#FFFFFF#000000##000000
##B8A03D1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D31
Deuteranopia (green-blind)
#B6A442
Tritanopia (blue-blind)
#C6948B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b8a03d;
/* rgb */ color: rgb(184, 160, 61);
/* oklch */ color: oklch(70.8% 0.120 95.5);
Tailwind
colors: {
  custom: {
    50: '#d1bb77',
    500: '#b8a03d',
    950: '#000000',
  },
}
SCSS
$custom: #b8a03d;
$custom-light: #d1bb77;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a03d",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 61
  },
  "hsl": {
    "h": 48.293,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.70838,
    "c": 0.12026,
    "h": 95.5
  },
  "luminance": 0.35669
}

Semantic roles & 50–950 ramp

primary
#B8A03D
secondary
#8A96C7
accent
#69DA4E
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B8A03D

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

Preview Lab → · Contrast checker → · Palette generator →

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