#B9B92B#B9B92B

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

Color values

HEX#B9B92B
RGBrgb(185, 185, 43)
HSLhsl(60, 62%, 45%)
HSVhsv(60, 77%, 73%)
CMYKcmyk(0%, 0%, 76.8%, 27.5%)
CIE-LABlab(73.02, -16.01, 66.30)
CIE-LCHlch(73.02, 68.21, 103.58°)
OKLaboklab(76.19% -0.0514 0.1447)
OKLCHoklch(76.19% 0.154 109.6)
XYZxyz(37.7940, 45.1878, 9.0163)
Luminance0.4519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B92B #2B2BB9
analogous
#B9722B #B9B92B #72B92B
triadic
#B9B92B #2BB9B9 #B92BB9
tetradic
#B9B92B #2BB972 #2B2BB9 #B92B72
square
#B9B92B #2BB972 #2B2BB9 #B92B72
split-complementary
#B9B92B #2B72B9 #722BB9
monochromatic
#565614 #87871F #B9B92B #D5D54C #E1E17E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B92B#FFFFFF#000000##000000
##B9B92B1.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)
#C8B101
Deuteranopia (green-blind)
#CAB537
Tritanopia (blue-blind)
#C6AD9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b9b92b;
/* rgb */ color: rgb(185, 185, 43);
/* oklch */ color: oklch(76.2% 0.154 109.6);
Tailwind
colors: {
  custom: {
    50: '#d2cd71',
    500: '#b9b92b',
    950: '#000000',
  },
}
SCSS
$custom: #b9b92b;
$custom-light: #d2cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b92b",
  "rgb": {
    "r": 185,
    "g": 185,
    "b": 43
  },
  "hsl": {
    "h": 60,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.76189,
    "c": 0.15353,
    "h": 109.6
  },
  "luminance": 0.45187
}

Semantic roles & 50–950 ramp

primary
#B9B92B
secondary
#7676C9
accent
#42E542
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9B92B

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

Preview Lab → · Contrast checker → · Palette generator →

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