#B9B82F#B9B82F

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

Color values

HEX#B9B82F
RGBrgb(185, 184, 47)
HSLhsl(60, 59%, 45%)
HSVhsv(60, 75%, 73%)
CMYKcmyk(0%, 0.5%, 74.6%, 27.5%)
CIE-LABlab(72.76, -15.34, 64.79)
CIE-LCHlch(72.76, 66.58, 103.32°)
OKLaboklab(75.99% -0.0492 0.1422)
OKLCHoklch(75.99% 0.15 109.1)
XYZxyz(37.6626, 44.8017, 9.3524)
Luminance0.4480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B82F #2F30B9
analogous
#B9732F #B9B82F #75B92F
triadic
#B9B82F #2FB9B8 #B82FB9
tetradic
#B9B82F #2FB973 #2F30B9 #B92F75
square
#B9B82F #2FB973 #2F30B9 #B92F75
split-complementary
#B9B82F #2F75B9 #732FB9
monochromatic
#575716 #888723 #B9B82F #D3D252 #DFDF83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B82F#FFFFFF#000000##000000
##B9B82F1.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)
#C7B00F
Deuteranopia (green-blind)
#C9B53A
Tritanopia (blue-blind)
#C6AC9E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b9b82f;
/* rgb */ color: rgb(185, 184, 47);
/* oklch */ color: oklch(76.0% 0.150 109.1);
Tailwind
colors: {
  custom: {
    50: '#d2cd72',
    500: '#b9b82f',
    950: '#000000',
  },
}
SCSS
$custom: #b9b82f;
$custom-light: #d2cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b82f",
  "rgb": {
    "r": 185,
    "g": 184,
    "b": 47
  },
  "hsl": {
    "h": 59.565,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75992,
    "c": 0.15047,
    "h": 109.1
  },
  "luminance": 0.44801
}

Semantic roles & 50–950 ramp

primary
#B9B82F
secondary
#7B7CC9
accent
#46E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B82F

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

Preview Lab → · Contrast checker → · Palette generator →

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