#B8AC30#B8AC30

#B8AC30 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.3% C 0.139 H 103.7°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#B8AC30
RGBrgb(184, 172, 48)
HSLhsl(55, 59%, 45%)
HSVhsv(55, 74%, 72%)
CMYKcmyk(0%, 6.5%, 73.9%, 27.8%)
CIE-LABlab(69.41, -9.56, 61.27)
CIE-LCHlch(69.41, 62.01, 98.87°)
OKLaboklab(73.3% -0.0328 0.1349)
OKLCHoklch(73.3% 0.139 103.7)
XYZxyz(35.0547, 39.9102, 8.6527)
Luminance0.3991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AC30 #303CB8
analogous
#B86830 #B8AC30 #80B830
triadic
#B8AC30 #30B8AC #AC30B8
tetradic
#B8AC30 #30B868 #303CB8 #B83080
square
#B8AC30 #30B868 #303CB8 #B83080
split-complementary
#B8AC30 #3080B8 #6830B8
monochromatic
#575117 #877F23 #B8AC30 #D2C753 #DFD784

Accessibility & contrast

On white

2.34
#B8AC30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#B8AC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AC30
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AC30#FFFFFF#000000##000000
##B8AC301.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA618
Deuteranopia (green-blind)
#C0AC39
Tritanopia (blue-blind)
#C6A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b8ac30;
/* rgb */ color: rgb(184, 172, 48);
/* oklch */ color: oklch(73.3% 0.139 103.7);
Tailwind
colors: {
  custom: {
    50: '#d1c471',
    500: '#b8ac30',
    950: '#000000',
  },
}
SCSS
$custom: #b8ac30;
$custom-light: #d1c471;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ac30",
  "rgb": {
    "r": 184,
    "g": 172,
    "b": 48
  },
  "hsl": {
    "h": 54.706,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73299,
    "c": 0.13887,
    "h": 103.7
  },
  "luminance": 0.39909
}

Semantic roles & 50–950 ramp

primary
#B8AC30
secondary
#7C82C8
accent
#54E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8AC30

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

Preview Lab → · Contrast checker → · Palette generator →

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