#B7CD52#B7CD52

#B7CD52 is a light, vivid yellow-green. Relative luminance 0.543; OKLCH L 80.8% C 0.150 H 118.4°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#B7CD52
RGBrgb(183, 205, 82)
HSLhsl(71, 55%, 56%)
HSVhsv(71, 60%, 80%)
CMYKcmyk(10.7%, 0%, 60%, 19.6%)
CIE-LABlab(78.66, -24.52, 57.21)
CIE-LCHlch(78.66, 62.24, 113.21°)
OKLaboklab(80.76% -0.0713 0.1317)
OKLCHoklch(80.76% 0.15 118.4)
XYZxyz(42.8834, 54.3394, 16.2104)
Luminance0.5434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CD52 #6852CD
analogous
#CDA652 #B7CD52 #7ACD52
triadic
#B7CD52 #52B7CD #CD52B7
tetradic
#B7CD52 #52CDA6 #6852CD #CD527A
square
#B7CD52 #52CDA6 #6852CD #CD527A
split-complementary
#B7CD52 #527ACD #A652CD
monochromatic
#6F8025 #99AF33 #B7CD52 #CBDB81 #DFE8B1

Accessibility & contrast

On white

1.77
#B7CD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#B7CD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CD52
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CD52#FFFFFF#000000##000000
##B7CD521.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C344
Deuteranopia (green-blind)
#D7C35A
Tritanopia (blue-blind)
#C1C3B3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b7cd52;
/* rgb */ color: rgb(183, 205, 82);
/* oklch */ color: oklch(80.8% 0.150 118.4);
Tailwind
colors: {
  custom: {
    50: '#cfdc87',
    500: '#b7cd52',
    950: '#000000',
  },
}
SCSS
$custom: #b7cd52;
$custom-light: #cfdc87;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cd52",
  "rgb": {
    "r": 183,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 70.732,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80758,
    "c": 0.14976,
    "h": 118.4
  },
  "luminance": 0.54339
}

Semantic roles & 50–950 ramp

primary
#B7CD52
secondary
#493C87
accent
#49DE64
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B7CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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