#B9B92E#B9B92E

#B9B92E is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.2% C 0.152 H 109.5°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#B9B92E
RGBrgb(185, 185, 46)
HSLhsl(60, 60%, 45%)
HSVhsv(60, 75%, 73%)
CMYKcmyk(0%, 0%, 75.1%, 27.5%)
CIE-LABlab(73.03, -15.89, 65.37)
CIE-LCHlch(73.03, 67.27, 103.66°)
OKLaboklab(76.21% -0.0508 0.1432)
OKLCHoklch(76.21% 0.152 109.5)
XYZxyz(37.8511, 45.2106, 9.3169)
Luminance0.4521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B92E #2E2EB9
analogous
#B9732E #B9B92E #73B92E
triadic
#B9B92E #2EB9B9 #B92EB9
tetradic
#B9B92E #2EB973 #2E2EB9 #B92E73
square
#B9B92E #2EB973 #2E2EB9 #B92E73
split-complementary
#B9B92E #2E73B9 #732EB9
monochromatic
#575716 #888822 #B9B92E #D4D451 #E0E082

Accessibility & contrast

On white

2.09
#B9B92E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#B9B92E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B92E
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B92E#FFFFFF#000000##000000
##B9B92E1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B10C
Deuteranopia (green-blind)
#CAB539
Tritanopia (blue-blind)
#C6AD9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b9b92e;
/* rgb */ color: rgb(185, 185, 46);
/* oklch */ color: oklch(76.2% 0.152 109.5);
Tailwind
colors: {
  custom: {
    50: '#d2cd72',
    500: '#b9b92e',
    950: '#000000',
  },
}
SCSS
$custom: #b9b92e;
$custom-light: #d2cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b92e",
  "rgb": {
    "r": 185,
    "g": 185,
    "b": 46
  },
  "hsl": {
    "h": 60,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.76205,
    "c": 0.15199,
    "h": 109.5
  },
  "luminance": 0.45209
}

Semantic roles & 50–950 ramp

primary
#B9B92E
secondary
#7A7AC9
accent
#44E344
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B92E

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

Preview Lab → · Contrast checker → · Palette generator →

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