#B9A030#B9A030

#B9A030 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.129 H 96.1°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#B9A030
RGBrgb(185, 160, 48)
HSLhsl(49, 59%, 46%)
HSVhsv(49, 74%, 73%)
CMYKcmyk(0%, 13.5%, 74.1%, 27.5%)
CIE-LABlab(66.27, -2.78, 58.30)
CIE-LCHlch(66.27, 58.36, 92.73°)
OKLaboklab(70.83% -0.0137 0.1286)
OKLCHoklch(70.83% 0.129 96.1)
XYZxyz(33.1136, 35.6711, 7.9368)
Luminance0.3567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A030 #3049B9
analogous
#B95B30 #B9A030 #8DB930
triadic
#B9A030 #30B9A0 #A030B9
tetradic
#B9A030 #30B95B #3049B9 #B9308D
square
#B9A030 #30B95B #3049B9 #B9308D
split-complementary
#B9A030 #308DB9 #5B30B9
monochromatic
#584C17 #887623 #B9A030 #D3BB54 #DFCF84

Accessibility & contrast

On white

2.58
#B9A030 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#B9A030 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A030
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A030#FFFFFF#000000##000000
##B9A0301.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1D
Deuteranopia (green-blind)
#B7A437
Tritanopia (blue-blind)
#C8938A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b9a030;
/* rgb */ color: rgb(185, 160, 48);
/* oklch */ color: oklch(70.8% 0.129 96.1);
Tailwind
colors: {
  custom: {
    50: '#d2bb70',
    500: '#b9a030',
    950: '#000000',
  },
}
SCSS
$custom: #b9a030;
$custom-light: #d2bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a030",
  "rgb": {
    "r": 185,
    "g": 160,
    "b": 48
  },
  "hsl": {
    "h": 49.051,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70831,
    "c": 0.12932,
    "h": 96.1
  },
  "luminance": 0.35669
}

Semantic roles & 50–950 ramp

primary
#B9A030
secondary
#7C8AC9
accent
#62E246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B9A030

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

Preview Lab → · Contrast checker → · Palette generator →

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