#B9B72E#B9B72E

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

Color values

HEX#B9B72E
RGBrgb(185, 183, 46)
HSLhsl(59, 60%, 45%)
HSVhsv(59, 75%, 73%)
CMYKcmyk(0%, 1.1%, 75.1%, 27.5%)
CIE-LABlab(72.48, -14.88, 64.86)
CIE-LCHlch(72.48, 66.55, 102.92°)
OKLaboklab(75.77% -0.048 0.1422)
OKLCHoklch(75.77% 0.15 108.6)
XYZxyz(37.4356, 44.3797, 9.1784)
Luminance0.4438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B72E #2E30B9
analogous
#B9722E #B9B72E #75B92E
triadic
#B9B72E #2EB9B7 #B72EB9
tetradic
#B9B72E #2EB972 #2E30B9 #B92E75
square
#B9B72E #2EB972 #2E30B9 #B92E75
split-complementary
#B9B72E #2E75B9 #722EB9
monochromatic
#575616 #888722 #B9B72E #D4D251 #E0DE82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B72E#FFFFFF#000000##000000
##B9B72E1.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)
#C6AF0D
Deuteranopia (green-blind)
#C8B439
Tritanopia (blue-blind)
#C6AB9D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b9b72e;
/* rgb */ color: rgb(185, 183, 46);
/* oklch */ color: oklch(75.8% 0.150 108.6);
Tailwind
colors: {
  custom: {
    50: '#d2cc72',
    500: '#b9b72e',
    950: '#000000',
  },
}
SCSS
$custom: #b9b72e;
$custom-light: #d2cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b72e",
  "rgb": {
    "r": 185,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 59.137,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75767,
    "c": 0.15004,
    "h": 108.6
  },
  "luminance": 0.44379
}

Semantic roles & 50–950 ramp

primary
#B9B72E
secondary
#7A7BC9
accent
#47E344
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9B72E

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

Preview Lab → · Contrast checker → · Palette generator →

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