#B9B82D#B9B82D

#B9B82D is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.0% C 0.152 H 109.1°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#B9B82D
RGBrgb(185, 184, 45)
HSLhsl(60, 61%, 45%)
HSVhsv(60, 76%, 73%)
CMYKcmyk(0%, 0.5%, 75.7%, 27.5%)
CIE-LABlab(72.75, -15.43, 65.43)
CIE-LCHlch(72.75, 67.23, 103.26°)
OKLaboklab(75.98% -0.0496 0.1432)
OKLCHoklch(75.98% 0.152 109.1)
XYZxyz(37.6232, 44.7859, 9.1448)
Luminance0.4479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B82D #2D2EB9
analogous
#B9722D #B9B82D #74B92D
triadic
#B9B82D #2DB9B8 #B82DB9
tetradic
#B9B82D #2DB972 #2D2EB9 #B92D74
square
#B9B82D #2DB972 #2D2EB9 #B92D74
split-complementary
#B9B82D #2D74B9 #722DB9
monochromatic
#575615 #888721 #B9B82D #D4D34F #E0DF80

Accessibility & contrast

On white

2.11
#B9B82D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#B9B82D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B82D
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B82D#FFFFFF#000000##000000
##B9B82D1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B009
Deuteranopia (green-blind)
#C9B539
Tritanopia (blue-blind)
#C6AC9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b9b82d;
/* rgb */ color: rgb(185, 184, 45);
/* oklch */ color: oklch(76.0% 0.152 109.1);
Tailwind
colors: {
  custom: {
    50: '#d2cd71',
    500: '#b9b82d',
    950: '#000000',
  },
}
SCSS
$custom: #b9b82d;
$custom-light: #d2cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b82d",
  "rgb": {
    "r": 185,
    "g": 184,
    "b": 45
  },
  "hsl": {
    "h": 59.571,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.7598,
    "c": 0.15154,
    "h": 109.1
  },
  "luminance": 0.44785
}

Semantic roles & 50–950 ramp

primary
#B9B82D
secondary
#7979C9
accent
#45E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9B82D

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

Preview Lab → · Contrast checker → · Palette generator →

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