#B9A730#B9A730

#B9A730 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.3% C 0.135 H 100.4°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#B9A730
RGBrgb(185, 167, 48)
HSLhsl(52, 59%, 46%)
HSVhsv(52, 74%, 73%)
CMYKcmyk(0%, 9.7%, 74.1%, 27.5%)
CIE-LABlab(68.14, -6.50, 60.09)
CIE-LCHlch(68.14, 60.44, 96.17°)
OKLaboklab(72.32% -0.0242 0.1324)
OKLCHoklch(72.32% 0.135 100.4)
XYZxyz(34.3614, 38.1667, 8.3527)
Luminance0.3816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A730 #3042B9
analogous
#B96230 #B9A730 #86B930
triadic
#B9A730 #30B9A7 #A730B9
tetradic
#B9A730 #30B962 #3042B9 #B93086
square
#B9A730 #30B962 #3042B9 #B93086
split-complementary
#B9A730 #3086B9 #6230B9
monochromatic
#584F17 #887B23 #B9A730 #D3C254 #DFD384

Accessibility & contrast

On white

2.43
#B9A730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#B9A730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A730
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A730#FFFFFF#000000##000000
##B9A7301.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21A
Deuteranopia (green-blind)
#BCA938
Tritanopia (blue-blind)
#C79B90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b9a730;
/* rgb */ color: rgb(185, 167, 48);
/* oklch */ color: oklch(72.3% 0.135 100.4);
Tailwind
colors: {
  custom: {
    50: '#d2c071',
    500: '#b9a730',
    950: '#000000',
  },
}
SCSS
$custom: #b9a730;
$custom-light: #d2c071;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a730",
  "rgb": {
    "r": 185,
    "g": 167,
    "b": 48
  },
  "hsl": {
    "h": 52.117,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72317,
    "c": 0.13462,
    "h": 100.4
  },
  "luminance": 0.38165
}

Semantic roles & 50–950 ramp

primary
#B9A730
secondary
#7C86C9
accent
#5AE246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9A730

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

Preview Lab → · Contrast checker → · Palette generator →

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