#B8B72B#B8B72B

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

Color values

HEX#B8B72B
RGBrgb(184, 183, 43)
HSLhsl(60, 62%, 45%)
HSVhsv(60, 77%, 72%)
CMYKcmyk(0%, 0.5%, 76.6%, 27.8%)
CIE-LABlab(72.38, -15.43, 65.70)
CIE-LCHlch(72.38, 67.49, 103.22°)
OKLaboklab(75.66% -0.0497 0.1434)
OKLCHoklch(75.66% 0.152 109.1)
XYZxyz(37.1381, 44.2329, 8.8665)
Luminance0.4423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B72B #2B2CB8
analogous
#B8702B #B8B72B #73B82B
triadic
#B8B72B #2BB8B7 #B72BB8
tetradic
#B8B72B #2BB870 #2B2CB8 #B82B73
square
#B8B72B #2BB870 #2B2CB8 #B82B73
split-complementary
#B8B72B #2B73B8 #702BB8
monochromatic
#555414 #86861F #B8B72B #D5D44B #E1E07D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8B72B#FFFFFF#000000##000000
##B8B72B1.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)
#C6AF03
Deuteranopia (green-blind)
#C8B437
Tritanopia (blue-blind)
#C5AB9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8b72b;
/* rgb */ color: rgb(184, 183, 43);
/* oklch */ color: oklch(75.7% 0.152 109.1);
Tailwind
colors: {
  custom: {
    50: '#d1cc70',
    500: '#b8b72b',
    950: '#000000',
  },
}
SCSS
$custom: #b8b72b;
$custom-light: #d1cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b72b",
  "rgb": {
    "r": 184,
    "g": 183,
    "b": 43
  },
  "hsl": {
    "h": 59.574,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.75664,
    "c": 0.15181,
    "h": 109.1
  },
  "luminance": 0.44232
}

Semantic roles & 50–950 ramp

primary
#B8B72B
secondary
#7676C9
accent
#44E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B72B

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

Preview Lab → · Contrast checker → · Palette generator →

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