#B9B82C#B9B82C

#B9B82C 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#B9B82C
RGBrgb(185, 184, 44)
HSLhsl(60, 62%, 45%)
HSVhsv(60, 76%, 73%)
CMYKcmyk(0%, 0.5%, 76.2%, 27.5%)
CIE-LABlab(72.75, -15.47, 65.74)
CIE-LCHlch(72.75, 67.54, 103.24°)
OKLaboklab(75.98% -0.0498 0.1437)
OKLCHoklch(75.98% 0.152 109.1)
XYZxyz(37.6041, 44.7783, 9.0446)
Luminance0.4478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B82C #2C2DB9
analogous
#B9712C #B9B82C #74B92C
triadic
#B9B82C #2CB9B8 #B82CB9
tetradic
#B9B82C #2CB971 #2C2DB9 #B92C74
square
#B9B82C #2CB971 #2C2DB9 #B92C74
split-complementary
#B9B82C #2C74B9 #712CB9
monochromatic
#565614 #888720 #B9B82C #D5D44D #E1E07F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B82C#FFFFFF#000000##000000
##B9B82C1.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)
#C7B005
Deuteranopia (green-blind)
#C9B538
Tritanopia (blue-blind)
#C6AC9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b9b82c;
/* rgb */ color: rgb(185, 184, 44);
/* oklch */ color: oklch(76.0% 0.152 109.1);
Tailwind
colors: {
  custom: {
    50: '#d2cd71',
    500: '#b9b82c',
    950: '#000000',
  },
}
SCSS
$custom: #b9b82c;
$custom-light: #d2cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b82c",
  "rgb": {
    "r": 185,
    "g": 184,
    "b": 44
  },
  "hsl": {
    "h": 59.574,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75975,
    "c": 0.15206,
    "h": 109.1
  },
  "luminance": 0.44777
}

Semantic roles & 50–950 ramp

primary
#B9B82C
secondary
#7878C9
accent
#44E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9B82C

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

Preview Lab → · Contrast checker → · Palette generator →

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