#B9B72F#B9B72F

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

Color values

HEX#B9B72F
RGBrgb(185, 183, 47)
HSLhsl(59, 59%, 45%)
HSVhsv(59, 75%, 73%)
CMYKcmyk(0%, 1.1%, 74.6%, 27.5%)
CIE-LABlab(72.49, -14.83, 64.54)
CIE-LCHlch(72.49, 66.22, 102.94°)
OKLaboklab(75.77% -0.0477 0.1417)
OKLCHoklch(75.77% 0.149 108.6)
XYZxyz(37.4556, 44.3877, 9.2834)
Luminance0.4439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B72F #2F31B9
analogous
#B9722F #B9B72F #76B92F
triadic
#B9B72F #2FB9B7 #B72FB9
tetradic
#B9B72F #2FB972 #2F31B9 #B92F76
square
#B9B72F #2FB972 #2F31B9 #B92F76
split-complementary
#B9B72F #2F76B9 #722FB9
monochromatic
#575616 #888723 #B9B72F #D3D152 #DFDE83

Accessibility & contrast

On white

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

On black

9.88
#B9B72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B72F
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B72F#FFFFFF#000000##000000
##B9B72F1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF10
Deuteranopia (green-blind)
#C8B43A
Tritanopia (blue-blind)
#C6AB9D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b9b72f;
/* rgb */ color: rgb(185, 183, 47);
/* oklch */ color: oklch(75.8% 0.149 108.6);
Tailwind
colors: {
  custom: {
    50: '#d2cc72',
    500: '#b9b72f',
    950: '#000000',
  },
}
SCSS
$custom: #b9b72f;
$custom-light: #d2cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b72f",
  "rgb": {
    "r": 185,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 59.13,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75773,
    "c": 0.14949,
    "h": 108.6
  },
  "luminance": 0.44386
}

Semantic roles & 50–950 ramp

primary
#B9B72F
secondary
#7B7CC9
accent
#47E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B72F

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

Preview Lab → · Contrast checker → · Palette generator →

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