#B9A830#B9A830

#B9A830 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.5% C 0.135 H 100.9°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#B9A830
RGBrgb(185, 168, 48)
HSLhsl(53, 59%, 46%)
HSVhsv(53, 74%, 73%)
CMYKcmyk(0%, 9.2%, 74.1%, 27.5%)
CIE-LABlab(68.41, -7.02, 60.35)
CIE-LCHlch(68.41, 60.76, 96.64°)
OKLaboklab(72.53% -0.0257 0.133)
OKLCHoklch(72.53% 0.135 100.9)
XYZxyz(34.5453, 38.5345, 8.4140)
Luminance0.3853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A830 #3041B9
analogous
#B96430 #B9A830 #85B930
triadic
#B9A830 #30B9A8 #A830B9
tetradic
#B9A830 #30B964 #3041B9 #B93085
square
#B9A830 #30B964 #3041B9 #B93085
split-complementary
#B9A830 #3085B9 #6430B9
monochromatic
#585017 #887C23 #B9A830 #D3C354 #DFD484

Accessibility & contrast

On white

2.41
#B9A830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#B9A830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A830
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A830#FFFFFF#000000##000000
##B9A8301.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9a830;
/* rgb */ color: rgb(185, 168, 48);
/* oklch */ color: oklch(72.5% 0.135 100.9);
Tailwind
colors: {
  custom: {
    50: '#d2c171',
    500: '#b9a830',
    950: '#000000',
  },
}
SCSS
$custom: #b9a830;
$custom-light: #d2c171;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a830",
  "rgb": {
    "r": 185,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 52.555,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72531,
    "c": 0.13543,
    "h": 100.9
  },
  "luminance": 0.38533
}

Semantic roles & 50–950 ramp

primary
#B9A830
secondary
#7C86C9
accent
#59E246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9A830

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

Preview Lab → · Contrast checker → · Palette generator →

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