#B9B82E#B9B82E

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

Color values

HEX#B9B82E
RGBrgb(185, 184, 46)
HSLhsl(60, 60%, 45%)
HSVhsv(60, 75%, 73%)
CMYKcmyk(0%, 0.5%, 75.1%, 27.5%)
CIE-LABlab(72.76, -15.38, 65.11)
CIE-LCHlch(72.76, 66.91, 103.29°)
OKLaboklab(75.99% -0.0494 0.1427)
OKLCHoklch(75.99% 0.151 109.1)
XYZxyz(37.6426, 44.7937, 9.2474)
Luminance0.4479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B82E #2E2FB9
analogous
#B9722E #B9B82E #75B92E
triadic
#B9B82E #2EB9B8 #B82EB9
tetradic
#B9B82E #2EB972 #2E2FB9 #B92E75
square
#B9B82E #2EB972 #2E2FB9 #B92E75
split-complementary
#B9B82E #2E75B9 #722EB9
monochromatic
#575716 #888722 #B9B82E #D4D351 #E0DF82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B82E#FFFFFF#000000##000000
##B9B82E1.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)
#C7B00C
Deuteranopia (green-blind)
#C9B539
Tritanopia (blue-blind)
#C6AC9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b9b82e;
/* rgb */ color: rgb(185, 184, 46);
/* oklch */ color: oklch(76.0% 0.151 109.1);
Tailwind
colors: {
  custom: {
    50: '#d2cd72',
    500: '#b9b82e',
    950: '#000000',
  },
}
SCSS
$custom: #b9b82e;
$custom-light: #d2cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b82e",
  "rgb": {
    "r": 185,
    "g": 184,
    "b": 46
  },
  "hsl": {
    "h": 59.568,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75986,
    "c": 0.15101,
    "h": 109.1
  },
  "luminance": 0.44793
}

Semantic roles & 50–950 ramp

primary
#B9B82E
secondary
#7A7BC9
accent
#46E344
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9B82E

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

Preview Lab → · Contrast checker → · Palette generator →

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