#B9A334#B9A334

#B9A334 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.5% C 0.129 H 97.7°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#B9A334
RGBrgb(185, 163, 52)
HSLhsl(50, 56%, 46%)
HSVhsv(50, 72%, 73%)
CMYKcmyk(0%, 11.9%, 71.9%, 27.5%)
CIE-LABlab(67.10, -4.19, 57.57)
CIE-LCHlch(67.10, 57.72, 94.16°)
OKLaboklab(71.49% -0.0173 0.1278)
OKLCHoklch(71.49% 0.129 97.7)
XYZxyz(33.7263, 36.7583, 8.5667)
Luminance0.3676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A334 #344AB9
analogous
#B96134 #B9A334 #8DB934
triadic
#B9A334 #34B9A3 #A334B9
tetradic
#B9A334 #34B961 #344AB9 #B9348D
square
#B9A334 #34B961 #344AB9 #B9348D
split-complementary
#B9A334 #348DB9 #6134B9
monochromatic
#594F19 #897927 #B9A334 #D1BD5A #DED089

Accessibility & contrast

On white

2.51
#B9A334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#B9A334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A334
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A334#FFFFFF#000000##000000
##B9A3341.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F23
Deuteranopia (green-blind)
#B9A63B
Tritanopia (blue-blind)
#C8978D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b9a334;
/* rgb */ color: rgb(185, 163, 52);
/* oklch */ color: oklch(71.5% 0.129 97.7);
Tailwind
colors: {
  custom: {
    50: '#d2bd73',
    500: '#b9a334',
    950: '#000000',
  },
}
SCSS
$custom: #b9a334;
$custom-light: #d2bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a334",
  "rgb": {
    "r": 185,
    "g": 163,
    "b": 52
  },
  "hsl": {
    "h": 50.075,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71494,
    "c": 0.12898,
    "h": 97.7
  },
  "luminance": 0.36757
}

Semantic roles & 50–950 ramp

primary
#B9A334
secondary
#818DC8
accent
#61DF48
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9A334

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

Preview Lab → · Contrast checker → · Palette generator →

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