#B9B92F#B9B92F

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

Color values

HEX#B9B92F
RGBrgb(185, 185, 47)
HSLhsl(60, 59%, 45%)
HSVhsv(60, 75%, 73%)
CMYKcmyk(0%, 0%, 74.6%, 27.5%)
CIE-LABlab(73.04, -15.85, 65.05)
CIE-LCHlch(73.04, 66.95, 103.69°)
OKLaboklab(76.21% -0.0506 0.1427)
OKLCHoklch(76.21% 0.151 109.5)
XYZxyz(37.8710, 45.2186, 9.4219)
Luminance0.4522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B92F #2F2FB9
analogous
#B9742F #B9B92F #74B92F
triadic
#B9B92F #2FB9B9 #B92FB9
tetradic
#B9B92F #2FB974 #2F2FB9 #B92F74
square
#B9B92F #2FB974 #2F2FB9 #B92F74
split-complementary
#B9B92F #2F74B9 #742FB9
monochromatic
#575716 #888823 #B9B92F #D3D352 #DFDF83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B92F#FFFFFF#000000##000000
##B9B92F1.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)
#C8B10F
Deuteranopia (green-blind)
#CAB53A
Tritanopia (blue-blind)
#C6AD9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b9b92f;
/* rgb */ color: rgb(185, 185, 47);
/* oklch */ color: oklch(76.2% 0.151 109.5);
Tailwind
colors: {
  custom: {
    50: '#d2cd72',
    500: '#b9b92f',
    950: '#000000',
  },
}
SCSS
$custom: #b9b92f;
$custom-light: #d2cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b92f",
  "rgb": {
    "r": 185,
    "g": 185,
    "b": 47
  },
  "hsl": {
    "h": 60,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.76211,
    "c": 0.15145,
    "h": 109.5
  },
  "luminance": 0.45217
}

Semantic roles & 50–950 ramp

primary
#B9B92F
secondary
#7B7BC9
accent
#45E345
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B92F

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

Preview Lab → · Contrast checker → · Palette generator →

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