#B7CC52#B7CC52

#B7CC52 is a light, vivid yellow-green. Relative luminance 0.539; OKLCH L 80.5% C 0.149 H 118.1°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#B7CC52
RGBrgb(183, 204, 82)
HSLhsl(70, 54%, 56%)
HSVhsv(70, 60%, 80%)
CMYKcmyk(10.3%, 0%, 59.8%, 20%)
CIE-LABlab(78.38, -24.04, 56.90)
CIE-LCHlch(78.38, 61.77, 112.90°)
OKLaboklab(80.54% -0.07 0.131)
OKLCHoklch(80.54% 0.149 118.1)
XYZxyz(42.6450, 53.8626, 16.1310)
Luminance0.5386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CC52 #6752CC
analogous
#CCA452 #B7CC52 #7ACC52
triadic
#B7CC52 #52B7CC #CC52B7
tetradic
#B7CC52 #52CCA4 #6752CC #CC527A
square
#B7CC52 #52CCA4 #6752CC #CC527A
split-complementary
#B7CC52 #527ACC #A452CC
monochromatic
#6F7E25 #99AE33 #B7CC52 #CBDA81 #DEE8B1

Accessibility & contrast

On white

1.78
#B7CC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#B7CC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CC52
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CC52#FFFFFF#000000##000000
##B7CC521.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#D6C35A
Tritanopia (blue-blind)
#C1C2B2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b7cc52;
/* rgb */ color: rgb(183, 204, 82);
/* oklch */ color: oklch(80.5% 0.149 118.1);
Tailwind
colors: {
  custom: {
    50: '#cfdb87',
    500: '#b7cc52',
    950: '#000000',
  },
}
SCSS
$custom: #b7cc52;
$custom-light: #cfdb87;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cc52",
  "rgb": {
    "r": 183,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 70.328,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80535,
    "c": 0.14855,
    "h": 118.1
  },
  "luminance": 0.53862
}

Semantic roles & 50–950 ramp

primary
#B7CC52
secondary
#493C86
accent
#4ADE63
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #B7CC52

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

Preview Lab → · Contrast checker → · Palette generator →

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