#B8A03A#B8A03A

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

Color values

HEX#B8A03A
RGBrgb(184, 160, 58)
HSLhsl(49, 52%, 47%)
HSVhsv(49, 68%, 72%)
CMYKcmyk(0%, 13%, 68.5%, 27.8%)
CIE-LABlab(66.24, -2.71, 54.24)
CIE-LCHlch(66.24, 54.30, 92.86°)
OKLaboklab(70.81% -0.0123 0.1219)
OKLCHoklch(70.81% 0.123 95.8)
XYZxyz(33.1033, 35.6392, 9.1376)
Luminance0.3564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A03A #3A52B8
analogous
#B8613A #B8A03A #91B83A
triadic
#B8A03A #3AB8A0 #A03AB8
tetradic
#B8A03A #3AB861 #3A52B8 #B83A91
square
#B8A03A #3AB861 #3A52B8 #B83A91
split-complementary
#B8A03A #3A91B8 #613AB8
monochromatic
#5B4F1D #89782B #B8A03A #CDB962 #DCCE90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A03A#FFFFFF#000000##000000
##B8A03A1.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)
#B09D2D
Deuteranopia (green-blind)
#B6A43F
Tritanopia (blue-blind)
#C6948B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b8a03a;
/* rgb */ color: rgb(184, 160, 58);
/* oklch */ color: oklch(70.8% 0.123 95.8);
Tailwind
colors: {
  custom: {
    50: '#d1bb76',
    500: '#b8a03a',
    950: '#000000',
  },
}
SCSS
$custom: #b8a03a;
$custom-light: #d1bb76;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a03a",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 58
  },
  "hsl": {
    "h": 48.571,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.70812,
    "c": 0.12251,
    "h": 95.8
  },
  "luminance": 0.35637
}

Semantic roles & 50–950 ramp

primary
#B8A03A
secondary
#8793C7
accent
#68DC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B8A03A

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

Preview Lab → · Contrast checker → · Palette generator →

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