#B5BC52#B5BC52

#B5BC52 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.8% C 0.130 H 112.5°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#B5BC52
RGBrgb(181, 188, 82)
HSLhsl(64, 44%, 53%)
HSVhsv(64, 56%, 74%)
CMYKcmyk(3.7%, 0%, 56.4%, 26.3%)
CIE-LABlab(73.80, -16.93, 51.76)
CIE-LCHlch(73.80, 54.46, 108.12°)
OKLaboklab(76.83% -0.0499 0.1201)
OKLCHoklch(76.83% 0.13 112.5)
XYZxyz(38.5631, 46.4001, 14.9057)
Luminance0.4640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BC52 #5952BC
analogous
#BC8E52 #B5BC52 #80BC52
triadic
#B5BC52 #52B5BC #BC52B5
tetradic
#B5BC52 #52BC8E #5952BC #BC5280
square
#B5BC52 #52BC8E #5952BC #BC5280
split-complementary
#B5BC52 #5280BC #8E52BC
monochromatic
#666A29 #90973A #B5BC52 #C8CD7E #DBDEAA

Accessibility & contrast

On white

2.04
#B5BC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#B5BC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BC52
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BC52#FFFFFF#000000##000000
##B5BC521.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B447
Deuteranopia (green-blind)
#C9B758
Tritanopia (blue-blind)
#C0B2A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b5bc52;
/* rgb */ color: rgb(181, 188, 82);
/* oklch */ color: oklch(76.8% 0.130 112.5);
Tailwind
colors: {
  custom: {
    50: '#cdd086',
    500: '#b5bc52',
    950: '#000000',
  },
}
SCSS
$custom: #b5bc52;
$custom-light: #cdd086;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bc52",
  "rgb": {
    "r": 181,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 63.962,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76831,
    "c": 0.13005,
    "h": 112.5
  },
  "luminance": 0.46399
}

Semantic roles & 50–950 ramp

primary
#B5BC52
secondary
#A19ECC
accent
#54D45C
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14130B
muted
#82827C

Preview Lab

Preview with #B5BC52

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

Preview Lab → · Contrast checker → · Palette generator →

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