#B8A930#B8A930

#B8A930 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.7% C 0.136 H 102.0°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#B8A930
RGBrgb(184, 169, 48)
HSLhsl(53, 59%, 45%)
HSVhsv(53, 74%, 72%)
CMYKcmyk(0%, 8.2%, 73.9%, 27.8%)
CIE-LABlab(68.59, -7.99, 60.49)
CIE-LCHlch(68.59, 61.02, 97.52°)
OKLaboklab(72.65% -0.0284 0.1333)
OKLCHoklch(72.65% 0.136 102)
XYZxyz(34.4902, 38.7812, 8.4645)
Luminance0.3878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A930 #303FB8
analogous
#B86530 #B8A930 #83B830
triadic
#B8A930 #30B8A9 #A930B8
tetradic
#B8A930 #30B865 #303FB8 #B83083
square
#B8A930 #30B865 #303FB8 #B83083
split-complementary
#B8A930 #3083B8 #6530B8
monochromatic
#575017 #877C23 #B8A930 #D2C453 #DFD584

Accessibility & contrast

On white

2.40
#B8A930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#B8A930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A930
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A930#FFFFFF#000000##000000
##B8A9301.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41A
Deuteranopia (green-blind)
#BDAA38
Tritanopia (blue-blind)
#C69D92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a930;
/* rgb */ color: rgb(184, 169, 48);
/* oklch */ color: oklch(72.7% 0.136 102.0);
Tailwind
colors: {
  custom: {
    50: '#d1c271',
    500: '#b8a930',
    950: '#000000',
  },
}
SCSS
$custom: #b8a930;
$custom-light: #d1c271;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a930",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 48
  },
  "hsl": {
    "h": 53.382,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72652,
    "c": 0.13629,
    "h": 102
  },
  "luminance": 0.3878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8A930

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

Preview Lab → · Contrast checker → · Palette generator →

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