#B9A930#B9A930

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

Color values

HEX#B9A930
RGBrgb(185, 169, 48)
HSLhsl(53, 59%, 46%)
HSVhsv(53, 74%, 73%)
CMYKcmyk(0%, 8.6%, 74.1%, 27.5%)
CIE-LABlab(68.68, -7.55, 60.61)
CIE-LCHlch(68.68, 61.08, 97.10°)
OKLaboklab(72.75% -0.0272 0.1335)
OKLCHoklch(72.75% 0.136 101.5)
XYZxyz(34.7307, 38.9052, 8.4758)
Luminance0.3890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A930 #3040B9
analogous
#B96530 #B9A930 #84B930
triadic
#B9A930 #30B9A9 #A930B9
tetradic
#B9A930 #30B965 #3040B9 #B93084
square
#B9A930 #30B965 #3040B9 #B93084
split-complementary
#B9A930 #3084B9 #6530B9
monochromatic
#585017 #887D23 #B9A930 #D3C454 #DFD584

Accessibility & contrast

On white

2.39
#B9A930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#B9A930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A930
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A930#FFFFFF#000000##000000
##B9A9301.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41A
Deuteranopia (green-blind)
#BEAA38
Tritanopia (blue-blind)
#C79D92
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b9a930;
/* rgb */ color: rgb(185, 169, 48);
/* oklch */ color: oklch(72.7% 0.136 101.5);
Tailwind
colors: {
  custom: {
    50: '#d2c271',
    500: '#b9a930',
    950: '#000000',
  },
}
SCSS
$custom: #b9a930;
$custom-light: #d2c271;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a930",
  "rgb": {
    "r": 185,
    "g": 169,
    "b": 48
  },
  "hsl": {
    "h": 52.993,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72745,
    "c": 0.13625,
    "h": 101.5
  },
  "luminance": 0.38904
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9A930

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

Preview Lab → · Contrast checker → · Palette generator →

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