#B9A034#B9A034

#B9A034 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.9% C 0.127 H 95.7°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B9A034
RGBrgb(185, 160, 52)
HSLhsl(49, 56%, 46%)
HSVhsv(49, 72%, 73%)
CMYKcmyk(0%, 13.5%, 71.9%, 27.5%)
CIE-LABlab(66.29, -2.59, 56.78)
CIE-LCHlch(66.29, 56.83, 92.61°)
OKLaboklab(70.86% -0.0127 0.1262)
OKLCHoklch(70.86% 0.127 95.7)
XYZxyz(33.1999, 35.7056, 8.3913)
Luminance0.3570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A034 #344DB9
analogous
#B95E34 #B9A034 #90B934
triadic
#B9A034 #34B9A0 #A034B9
tetradic
#B9A034 #34B95E #344DB9 #B93490
square
#B9A034 #34B95E #344DB9 #B93490
split-complementary
#B9A034 #3490B9 #5E34B9
monochromatic
#594D19 #897727 #B9A034 #D1BA5A #DECE89

Accessibility & contrast

On white

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

On black

8.14
#B9A034 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A034
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A034#FFFFFF#000000##000000
##B9A0341.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D24
Deuteranopia (green-blind)
#B7A53A
Tritanopia (blue-blind)
#C8948A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b9a034;
/* rgb */ color: rgb(185, 160, 52);
/* oklch */ color: oklch(70.9% 0.127 95.7);
Tailwind
colors: {
  custom: {
    50: '#d2bb72',
    500: '#b9a034',
    950: '#000000',
  },
}
SCSS
$custom: #b9a034;
$custom-light: #d2bb72;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a034",
  "rgb": {
    "r": 185,
    "g": 160,
    "b": 52
  },
  "hsl": {
    "h": 48.722,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7086,
    "c": 0.12679,
    "h": 95.7
  },
  "luminance": 0.35704
}

Semantic roles & 50–950 ramp

primary
#B9A034
secondary
#818EC8
accent
#65DF48
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B9A034

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

Preview Lab → · Contrast checker → · Palette generator →

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