#B8A03B#B8A03B

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

Color values

HEX#B8A03B
RGBrgb(184, 160, 59)
HSLhsl(48, 51%, 48%)
HSVhsv(48, 68%, 72%)
CMYKcmyk(0%, 13%, 67.9%, 27.8%)
CIE-LABlab(66.25, -2.65, 53.82)
CIE-LCHlch(66.25, 53.88, 92.82°)
OKLaboklab(70.82% -0.012 0.1212)
OKLCHoklch(70.82% 0.122 95.7)
XYZxyz(33.1290, 35.6494, 9.2729)
Luminance0.3565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A03B #3B53B8
analogous
#B8623B #B8A03B #91B83B
triadic
#B8A03B #3BB8A0 #A03BB8
tetradic
#B8A03B #3BB862 #3B53B8 #B83B91
square
#B8A03B #3BB862 #3B53B8 #B83B91
split-complementary
#B8A03B #3B91B8 #623BB8
monochromatic
#5B4F1D #8A782C #B8A03B #CDB963 #DCCE92

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A03B#FFFFFF#000000##000000
##B8A03B1.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)
#B09D2E
Deuteranopia (green-blind)
#B6A440
Tritanopia (blue-blind)
#C6948B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b8a03b;
/* rgb */ color: rgb(184, 160, 59);
/* oklch */ color: oklch(70.8% 0.122 95.7);
Tailwind
colors: {
  custom: {
    50: '#d1bb76',
    500: '#b8a03b',
    950: '#000000',
  },
}
SCSS
$custom: #b8a03b;
$custom-light: #d1bb76;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a03b",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 59
  },
  "hsl": {
    "h": 48.48,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7082,
    "c": 0.12177,
    "h": 95.7
  },
  "luminance": 0.35648
}

Semantic roles & 50–950 ramp

primary
#B8A03B
secondary
#8894C7
accent
#68DB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B8A03B

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

Preview Lab → · Contrast checker → · Palette generator →

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