#B8BC52#B8BC52

#B8BC52 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.1% C 0.129 H 111.1°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#B8BC52
RGBrgb(184, 188, 82)
HSLhsl(62, 44%, 53%)
HSVhsv(62, 56%, 74%)
CMYKcmyk(2.1%, 0%, 56.4%, 26.3%)
CIE-LABlab(74.04, -15.69, 52.09)
CIE-LCHlch(74.04, 54.40, 106.76°)
OKLaboklab(77.08% -0.0465 0.1208)
OKLCHoklch(77.08% 0.129 111.1)
XYZxyz(39.2743, 46.7669, 14.9390)
Luminance0.4677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BC52 #5652BC
analogous
#BC8B52 #B8BC52 #83BC52
triadic
#B8BC52 #52B8BC #BC52B8
tetradic
#B8BC52 #52BC8B #5652BC #BC5283
square
#B8BC52 #52BC8B #5652BC #BC5283
split-complementary
#B8BC52 #5283BC #8B52BC
monochromatic
#686A29 #93973A #B8BC52 #CACD7E #DCDEAA

Accessibility & contrast

On white

2.03
#B8BC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#B8BC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BC52
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BC52#FFFFFF#000000##000000
##B8BC521.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B447
Deuteranopia (green-blind)
#CAB858
Tritanopia (blue-blind)
#C3B2A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b8bc52;
/* rgb */ color: rgb(184, 188, 82);
/* oklch */ color: oklch(77.1% 0.129 111.1);
Tailwind
colors: {
  custom: {
    50: '#d0d086',
    500: '#b8bc52',
    950: '#000000',
  },
}
SCSS
$custom: #b8bc52;
$custom-light: #d0d086;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bc52",
  "rgb": {
    "r": 184,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 62.264,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77078,
    "c": 0.12941,
    "h": 111.1
  },
  "luminance": 0.46766
}

Semantic roles & 50–950 ramp

primary
#B8BC52
secondary
#A09ECC
accent
#54D459
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #B8BC52

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

Preview Lab → · Contrast checker → · Palette generator →

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