#B8B72C#B8B72C

#B8B72C 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#B8B72C
RGBrgb(184, 183, 44)
HSLhsl(60, 61%, 45%)
HSVhsv(60, 76%, 72%)
CMYKcmyk(0%, 0.5%, 76.1%, 27.8%)
CIE-LABlab(72.39, -15.39, 65.39)
CIE-LCHlch(72.39, 67.18, 103.24°)
OKLaboklab(75.67% -0.0495 0.143)
OKLCHoklch(75.67% 0.151 109.1)
XYZxyz(37.1567, 44.2403, 8.9643)
Luminance0.4424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B72C #2C2DB8
analogous
#B8712C #B8B72C #73B82C
triadic
#B8B72C #2CB8B7 #B72CB8
tetradic
#B8B72C #2CB871 #2C2DB8 #B82C73
square
#B8B72C #2CB871 #2C2DB8 #B82C73
split-complementary
#B8B72C #2C73B8 #712CB8
monochromatic
#555514 #878620 #B8B72C #D4D34D #E0DF7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8B72C#FFFFFF#000000##000000
##B8B72C1.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)
#C6AF06
Deuteranopia (green-blind)
#C8B438
Tritanopia (blue-blind)
#C5AB9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8b72c;
/* rgb */ color: rgb(184, 183, 44);
/* oklch */ color: oklch(75.7% 0.151 109.1);
Tailwind
colors: {
  custom: {
    50: '#d1cc71',
    500: '#b8b72c',
    950: '#000000',
  },
}
SCSS
$custom: #b8b72c;
$custom-light: #d1cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b72c",
  "rgb": {
    "r": 184,
    "g": 183,
    "b": 44
  },
  "hsl": {
    "h": 59.571,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7567,
    "c": 0.15129,
    "h": 109.1
  },
  "luminance": 0.44239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8B72C

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

Preview Lab → · Contrast checker → · Palette generator →

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