#B9AA30#B9AA30

#B9AA30 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 73.0% C 0.137 H 102.1°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#B9AA30
RGBrgb(185, 170, 48)
HSLhsl(53, 59%, 46%)
HSVhsv(53, 74%, 73%)
CMYKcmyk(0%, 8.1%, 74.1%, 27.5%)
CIE-LABlab(68.95, -8.08, 60.87)
CIE-LCHlch(68.95, 61.40, 97.56°)
OKLaboklab(72.96% -0.0287 0.1341)
OKLCHoklch(72.96% 0.137 102.1)
XYZxyz(34.9174, 39.2787, 8.5380)
Luminance0.3928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AA30 #303FB9
analogous
#B96630 #B9AA30 #83B930
triadic
#B9AA30 #30B9AA #AA30B9
tetradic
#B9AA30 #30B966 #303FB9 #B93083
square
#B9AA30 #30B966 #303FB9 #B93083
split-complementary
#B9AA30 #3083B9 #6630B9
monochromatic
#585117 #887D23 #B9AA30 #D3C554 #DFD584

Accessibility & contrast

On white

2.37
#B9AA30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#B9AA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AA30
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AA30#FFFFFF#000000##000000
##B9AA301.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9aa30;
/* rgb */ color: rgb(185, 170, 48);
/* oklch */ color: oklch(73.0% 0.137 102.1);
Tailwind
colors: {
  custom: {
    50: '#d2c271',
    500: '#b9aa30',
    950: '#000000',
  },
}
SCSS
$custom: #b9aa30;
$custom-light: #d2c271;
$custom-dark: #000000;
JSON
{
  "hex": "#b9aa30",
  "rgb": {
    "r": 185,
    "g": 170,
    "b": 48
  },
  "hsl": {
    "h": 53.431,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7296,
    "c": 0.13709,
    "h": 102.1
  },
  "luminance": 0.39277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9AA30

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

Preview Lab → · Contrast checker → · Palette generator →

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