#B9AC30#B9AC30

#B9AC30 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.4% C 0.139 H 103.2°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#B9AC30
RGBrgb(185, 172, 48)
HSLhsl(54, 59%, 46%)
HSVhsv(54, 74%, 73%)
CMYKcmyk(0%, 7%, 74.1%, 27.5%)
CIE-LABlab(69.49, -9.12, 61.38)
CIE-LCHlch(69.49, 62.05, 98.45°)
OKLaboklab(73.39% -0.0316 0.1352)
OKLCHoklch(73.39% 0.139 103.2)
XYZxyz(35.2952, 40.0342, 8.6640)
Luminance0.4003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AC30 #303DB9
analogous
#B96830 #B9AC30 #81B930
triadic
#B9AC30 #30B9AC #AC30B9
tetradic
#B9AC30 #30B968 #303DB9 #B93081
square
#B9AC30 #30B968 #303DB9 #B93081
split-complementary
#B9AC30 #3081B9 #6830B9
monochromatic
#585217 #887F23 #B9AC30 #D3C754 #DFD784

Accessibility & contrast

On white

2.33
#B9AC30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#B9AC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AC30
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AC30#FFFFFF#000000##000000
##B9AC301.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9ac30;
/* rgb */ color: rgb(185, 172, 48);
/* oklch */ color: oklch(73.4% 0.139 103.2);
Tailwind
colors: {
  custom: {
    50: '#d2c471',
    500: '#b9ac30',
    950: '#000000',
  },
}
SCSS
$custom: #b9ac30;
$custom-light: #d2c471;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ac30",
  "rgb": {
    "r": 185,
    "g": 172,
    "b": 48
  },
  "hsl": {
    "h": 54.307,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7339,
    "c": 0.1388,
    "h": 103.2
  },
  "luminance": 0.40033
}

Semantic roles & 50–950 ramp

primary
#B9AC30
secondary
#7C84C9
accent
#55E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9AC30

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

Preview Lab → · Contrast checker → · Palette generator →

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