#B8B72D#B8B72D

#B8B72D is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.7% C 0.151 H 109.1°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#B8B72D
RGBrgb(184, 183, 45)
HSLhsl(60, 61%, 45%)
HSVhsv(60, 76%, 72%)
CMYKcmyk(0%, 0.5%, 75.5%, 27.8%)
CIE-LABlab(72.39, -15.35, 65.07)
CIE-LCHlch(72.39, 66.86, 103.27°)
OKLaboklab(75.68% -0.0493 0.1425)
OKLCHoklch(75.68% 0.151 109.1)
XYZxyz(37.1757, 44.2479, 9.0645)
Luminance0.4425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B72D #2D2EB8
analogous
#B8712D #B8B72D #74B82D
triadic
#B8B72D #2DB8B7 #B72DB8
tetradic
#B8B72D #2DB871 #2D2EB8 #B82D74
square
#B8B72D #2DB871 #2D2EB8 #B82D74
split-complementary
#B8B72D #2D74B8 #712DB8
monochromatic
#565515 #878621 #B8B72D #D4D34E #E0DF80

Accessibility & contrast

On white

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

On black

9.85
#B8B72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B72D
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B72D#FFFFFF#000000##000000
##B8B72D1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8b72d;
/* rgb */ color: rgb(184, 183, 45);
/* oklch */ color: oklch(75.7% 0.151 109.1);
Tailwind
colors: {
  custom: {
    50: '#d1cc71',
    500: '#b8b72d',
    950: '#000000',
  },
}
SCSS
$custom: #b8b72d;
$custom-light: #d1cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b72d",
  "rgb": {
    "r": 184,
    "g": 183,
    "b": 45
  },
  "hsl": {
    "h": 59.568,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75675,
    "c": 0.15077,
    "h": 109.1
  },
  "luminance": 0.44247
}

Semantic roles & 50–950 ramp

primary
#B8B72D
secondary
#7879C9
accent
#45E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B72D

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

Preview Lab → · Contrast checker → · Palette generator →

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