#B9B72D#B9B72D

#B9B72D is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.8% C 0.151 H 108.7°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#B9B72D
RGBrgb(185, 183, 45)
HSLhsl(59, 61%, 45%)
HSVhsv(59, 76%, 73%)
CMYKcmyk(0%, 1.1%, 75.7%, 27.5%)
CIE-LABlab(72.48, -14.92, 65.18)
CIE-LCHlch(72.48, 66.87, 102.89°)
OKLaboklab(75.76% -0.0482 0.1427)
OKLCHoklch(75.76% 0.151 108.7)
XYZxyz(37.4162, 44.3719, 9.0758)
Luminance0.4437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B72D #2D2FB9
analogous
#B9712D #B9B72D #75B92D
triadic
#B9B72D #2DB9B7 #B72DB9
tetradic
#B9B72D #2DB971 #2D2FB9 #B92D75
square
#B9B72D #2DB971 #2D2FB9 #B92D75
split-complementary
#B9B72D #2D75B9 #712DB9
monochromatic
#575615 #888621 #B9B72D #D4D24F #E0DF80

Accessibility & contrast

On white

2.13
#B9B72D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#B9B72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B72D
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B72D#FFFFFF#000000##000000
##B9B72D1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF0A
Deuteranopia (green-blind)
#C8B438
Tritanopia (blue-blind)
#C7AB9D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b9b72d;
/* rgb */ color: rgb(185, 183, 45);
/* oklch */ color: oklch(75.8% 0.151 108.7);
Tailwind
colors: {
  custom: {
    50: '#d2cc71',
    500: '#b9b72d',
    950: '#000000',
  },
}
SCSS
$custom: #b9b72d;
$custom-light: #d2cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b72d",
  "rgb": {
    "r": 185,
    "g": 183,
    "b": 45
  },
  "hsl": {
    "h": 59.143,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75761,
    "c": 0.15057,
    "h": 108.7
  },
  "luminance": 0.44371
}

Semantic roles & 50–950 ramp

primary
#B9B72D
secondary
#797AC9
accent
#46E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9B72D

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

Preview Lab → · Contrast checker → · Palette generator →

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