#B8A03C#B8A03C

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

Color values

HEX#B8A03C
RGBrgb(184, 160, 60)
HSLhsl(48, 51%, 48%)
HSVhsv(48, 67%, 72%)
CMYKcmyk(0%, 13%, 67.4%, 27.8%)
CIE-LABlab(66.26, -2.59, 53.40)
CIE-LCHlch(66.26, 53.46, 92.78°)
OKLaboklab(70.83% -0.0117 0.1205)
OKLCHoklch(70.83% 0.121 95.6)
XYZxyz(33.1552, 35.6599, 9.4108)
Luminance0.3566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A03C #3C54B8
analogous
#B8623C #B8A03C #92B83C
triadic
#B8A03C #3CB8A0 #A03CB8
tetradic
#B8A03C #3CB862 #3C54B8 #B83C92
square
#B8A03C #3CB862 #3C54B8 #B83C92
split-complementary
#B8A03C #3C92B8 #623CB8
monochromatic
#5C501E #8A782D #B8A03C #CDB865 #DCCE93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A03C#FFFFFF#000000##000000
##B8A03C1.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)
#B09D2F
Deuteranopia (green-blind)
#B6A441
Tritanopia (blue-blind)
#C6948B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b8a03c;
/* rgb */ color: rgb(184, 160, 60);
/* oklch */ color: oklch(70.8% 0.121 95.6);
Tailwind
colors: {
  custom: {
    50: '#d1bb77',
    500: '#b8a03c',
    950: '#000000',
  },
}
SCSS
$custom: #b8a03c;
$custom-light: #d1bb77;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a03c",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 60
  },
  "hsl": {
    "h": 48.387,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.70829,
    "c": 0.12103,
    "h": 95.6
  },
  "luminance": 0.35658
}

Semantic roles & 50–950 ramp

primary
#B8A03C
secondary
#8995C7
accent
#69DA4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B8A03C

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

Preview Lab → · Contrast checker → · Palette generator →

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