#B9B92C#B9B92C

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

Color values

HEX#B9B92C
RGBrgb(185, 185, 44)
HSLhsl(60, 62%, 45%)
HSVhsv(60, 76%, 73%)
CMYKcmyk(0%, 0%, 76.2%, 27.5%)
CIE-LABlab(73.02, -15.97, 66.00)
CIE-LCHlch(73.02, 67.90, 103.61°)
OKLaboklab(76.19% -0.0512 0.1442)
OKLCHoklch(76.19% 0.153 109.5)
XYZxyz(37.8126, 45.1952, 9.1141)
Luminance0.4519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B92C #2C2CB9
analogous
#B9732C #B9B92C #73B92C
triadic
#B9B92C #2CB9B9 #B92CB9
tetradic
#B9B92C #2CB973 #2C2CB9 #B92C73
square
#B9B92C #2CB973 #2C2CB9 #B92C73
split-complementary
#B9B92C #2C73B9 #732CB9
monochromatic
#565614 #888820 #B9B92C #D5D54D #E1E17F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B92C#FFFFFF#000000##000000
##B9B92C1.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)
#C8B104
Deuteranopia (green-blind)
#CAB538
Tritanopia (blue-blind)
#C6AD9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b9b92c;
/* rgb */ color: rgb(185, 185, 44);
/* oklch */ color: oklch(76.2% 0.153 109.5);
Tailwind
colors: {
  custom: {
    50: '#d2cd71',
    500: '#b9b92c',
    950: '#000000',
  },
}
SCSS
$custom: #b9b92c;
$custom-light: #d2cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b92c",
  "rgb": {
    "r": 185,
    "g": 185,
    "b": 44
  },
  "hsl": {
    "h": 60,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.76194,
    "c": 0.15304,
    "h": 109.5
  },
  "luminance": 0.45194
}

Semantic roles & 50–950 ramp

primary
#B9B92C
secondary
#7878C9
accent
#43E543
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9B92C

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

Preview Lab → · Contrast checker → · Palette generator →

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