#B8B72A#B8B72A

#B8B72A 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.84:1 contrast (WCAG AA passes).

Color values

HEX#B8B72A
RGBrgb(184, 183, 42)
HSLhsl(60, 63%, 44%)
HSVhsv(60, 77%, 72%)
CMYKcmyk(0%, 0.5%, 77.2%, 27.8%)
CIE-LABlab(72.38, -15.47, 66.00)
CIE-LCHlch(72.38, 67.79, 103.19°)
OKLaboklab(75.66% -0.0499 0.1439)
OKLCHoklch(75.66% 0.152 109.1)
XYZxyz(37.1200, 44.2257, 8.7711)
Luminance0.4422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B72A #2A2BB8
analogous
#B8702A #B8B72A #72B82A
triadic
#B8B72A #2AB8B7 #B72AB8
tetradic
#B8B72A #2AB870 #2A2BB8 #B82A72
square
#B8B72A #2AB870 #2A2BB8 #B82A72
split-complementary
#B8B72A #2A72B8 #702AB8
monochromatic
#545413 #86851F #B8B72A #D6D54A #E1E07B

Accessibility & contrast

On white

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

On black

9.84
#B8B72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B72A
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B72A#FFFFFF#000000##000000
##B8B72A1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C8B436
Tritanopia (blue-blind)
#C5AB9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8b72a;
/* rgb */ color: rgb(184, 183, 42);
/* oklch */ color: oklch(75.7% 0.152 109.1);
Tailwind
colors: {
  custom: {
    50: '#d1cc70',
    500: '#b8b72a',
    950: '#000000',
  },
}
SCSS
$custom: #b8b72a;
$custom-light: #d1cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b72a",
  "rgb": {
    "r": 184,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 59.577,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.75659,
    "c": 0.15231,
    "h": 109.1
  },
  "luminance": 0.44224
}

Semantic roles & 50–950 ramp

primary
#B8B72A
secondary
#7575C9
accent
#43E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B72A

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

Preview Lab → · Contrast checker → · Palette generator →

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