#B9B334#B9B334

#B9B334 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.9% C 0.143 H 106.7°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#B9B334
RGBrgb(185, 179, 52)
HSLhsl(57, 56%, 46%)
HSVhsv(57, 72%, 73%)
CMYKcmyk(0%, 3.2%, 71.9%, 27.5%)
CIE-LABlab(71.42, -12.56, 61.79)
CIE-LCHlch(71.42, 63.05, 101.49°)
OKLaboklab(74.93% -0.0409 0.1368)
OKLCHoklch(74.93% 0.143 106.7)
XYZxyz(36.7490, 42.8037, 9.5743)
Luminance0.4280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B334 #343AB9
analogous
#B97134 #B9B334 #7DB934
triadic
#B9B334 #34B9B3 #B334B9
tetradic
#B9B334 #34B971 #343AB9 #B9347D
square
#B9B334 #34B971 #343AB9 #B9347D
split-complementary
#B9B334 #347DB9 #7134B9
monochromatic
#595719 #898527 #B9B334 #D1CB5A #DEDA89

Accessibility & contrast

On white

2.20
#B9B334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#B9B334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B334
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B334#FFFFFF#000000##000000
##B9B3341.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC1D
Deuteranopia (green-blind)
#C5B13D
Tritanopia (blue-blind)
#C7A79A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b9b334;
/* rgb */ color: rgb(185, 179, 52);
/* oklch */ color: oklch(74.9% 0.143 106.7);
Tailwind
colors: {
  custom: {
    50: '#d2c974',
    500: '#b9b334',
    950: '#000000',
  },
}
SCSS
$custom: #b9b334;
$custom-light: #d2c974;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b334",
  "rgb": {
    "r": 185,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 57.293,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74932,
    "c": 0.14275,
    "h": 106.7
  },
  "luminance": 0.42802
}

Semantic roles & 50–950 ramp

primary
#B9B334
secondary
#8184C8
accent
#4FDF48
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B334

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

Preview Lab → · Contrast checker → · Palette generator →

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