#B9B339#B9B339

#B9B339 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.0% C 0.140 H 106.5°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#B9B339
RGBrgb(185, 179, 57)
HSLhsl(57, 53%, 47%)
HSVhsv(57, 69%, 73%)
CMYKcmyk(0%, 3.2%, 69.2%, 27.5%)
CIE-LABlab(71.45, -12.31, 59.95)
CIE-LCHlch(71.45, 61.20, 101.60°)
OKLaboklab(74.97% -0.0397 0.1338)
OKLCHoklch(74.97% 0.14 106.5)
XYZxyz(36.8676, 42.8512, 10.1992)
Luminance0.4285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B339 #393FB9
analogous
#B97339 #B9B339 #7FB939
triadic
#B9B339 #39B9B3 #B339B9
tetradic
#B9B339 #39B973 #393FB9 #B9397F
square
#B9B339 #39B973 #393FB9 #B9397F
split-complementary
#B9B339 #397FB9 #7339B9
monochromatic
#5B581C #8A862B #B9B339 #CEC961 #DDD990

Accessibility & contrast

On white

2.19
#B9B339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#B9B339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B339
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B339#FFFFFF#000000##000000
##B9B3391.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC26
Deuteranopia (green-blind)
#C5B141
Tritanopia (blue-blind)
#C6A79B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b9b339;
/* rgb */ color: rgb(185, 179, 57);
/* oklch */ color: oklch(75.0% 0.140 106.5);
Tailwind
colors: {
  custom: {
    50: '#d1c977',
    500: '#b9b339',
    950: '#000000',
  },
}
SCSS
$custom: #b9b339;
$custom-light: #d1c977;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b339",
  "rgb": {
    "r": 185,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 57.188,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.74968,
    "c": 0.13952,
    "h": 106.5
  },
  "luminance": 0.4285
}

Semantic roles & 50–950 ramp

primary
#B9B339
secondary
#8689C8
accent
#52DC4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B339

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

Preview Lab → · Contrast checker → · Palette generator →

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