#B8AA30#B8AA30

#B8AA30 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.9% C 0.137 H 102.6°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#B8AA30
RGBrgb(184, 170, 48)
HSLhsl(54, 59%, 45%)
HSVhsv(54, 74%, 72%)
CMYKcmyk(0%, 7.6%, 73.9%, 27.8%)
CIE-LABlab(68.86, -8.51, 60.75)
CIE-LCHlch(68.86, 61.34, 97.98°)
OKLaboklab(72.87% -0.0299 0.1339)
OKLCHoklch(72.87% 0.137 102.6)
XYZxyz(34.6769, 39.1547, 8.5268)
Luminance0.3915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AA30 #303EB8
analogous
#B86630 #B8AA30 #82B830
triadic
#B8AA30 #30B8AA #AA30B8
tetradic
#B8AA30 #30B866 #303EB8 #B83082
square
#B8AA30 #30B866 #303EB8 #B83082
split-complementary
#B8AA30 #3082B8 #6630B8
monochromatic
#575017 #877D23 #B8AA30 #D2C553 #DFD584

Accessibility & contrast

On white

2.38
#B8AA30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#B8AA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AA30
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AA30#FFFFFF#000000##000000
##B8AA301.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA519
Deuteranopia (green-blind)
#BEAB39
Tritanopia (blue-blind)
#C69E92
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8aa30;
/* rgb */ color: rgb(184, 170, 48);
/* oklch */ color: oklch(72.9% 0.137 102.6);
Tailwind
colors: {
  custom: {
    50: '#d1c271',
    500: '#b8aa30',
    950: '#000000',
  },
}
SCSS
$custom: #b8aa30;
$custom-light: #d1c271;
$custom-dark: #000000;
JSON
{
  "hex": "#b8aa30",
  "rgb": {
    "r": 184,
    "g": 170,
    "b": 48
  },
  "hsl": {
    "h": 53.824,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72867,
    "c": 0.13714,
    "h": 102.6
  },
  "luminance": 0.39153
}

Semantic roles & 50–950 ramp

primary
#B8AA30
secondary
#7C84C8
accent
#56E246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8AA30

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

Preview Lab → · Contrast checker → · Palette generator →

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