#B7BC52#B7BC52

#B7BC52 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.0% C 0.130 H 111.6°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#B7BC52
RGBrgb(183, 188, 82)
HSLhsl(63, 44%, 53%)
HSVhsv(63, 56%, 74%)
CMYKcmyk(2.7%, 0%, 56.4%, 26.3%)
CIE-LABlab(73.96, -16.11, 51.98)
CIE-LCHlch(73.96, 54.42, 107.22°)
OKLaboklab(77% -0.0476 0.1205)
OKLCHoklch(77% 0.13 111.6)
XYZxyz(39.0356, 46.6438, 14.9278)
Luminance0.4664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BC52 #5752BC
analogous
#BC8C52 #B7BC52 #82BC52
triadic
#B7BC52 #52B7BC #BC52B7
tetradic
#B7BC52 #52BC8C #5752BC #BC5282
square
#B7BC52 #52BC8C #5752BC #BC5282
split-complementary
#B7BC52 #5282BC #8C52BC
monochromatic
#676A29 #92973A #B7BC52 #C9CD7E #DCDEAA

Accessibility & contrast

On white

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

On black

10.33
#B7BC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BC52
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BC52#FFFFFF#000000##000000
##B7BC521.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7bc52;
/* rgb */ color: rgb(183, 188, 82);
/* oklch */ color: oklch(77.0% 0.130 111.6);
Tailwind
colors: {
  custom: {
    50: '#cfd086',
    500: '#b7bc52',
    950: '#000000',
  },
}
SCSS
$custom: #b7bc52;
$custom-light: #cfd086;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bc52",
  "rgb": {
    "r": 183,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 62.83,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76995,
    "c": 0.12961,
    "h": 111.6
  },
  "luminance": 0.46643
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7BC52

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

Preview Lab → · Contrast checker → · Palette generator →

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