#B1CD52#B1CD52

#B1CD52 is a light, vivid yellow-green. Relative luminance 0.536; OKLCH L 80.3% C 0.152 H 120.8°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#B1CD52
RGBrgb(177, 205, 82)
HSLhsl(74, 55%, 56%)
HSVhsv(74, 60%, 80%)
CMYKcmyk(13.7%, 0%, 60%, 19.6%)
CIE-LABlab(78.24, -26.92, 56.62)
CIE-LCHlch(78.24, 62.70, 115.43°)
OKLaboklab(80.31% -0.0777 0.1306)
OKLCHoklch(80.31% 0.152 120.8)
XYZxyz(41.4863, 53.6190, 16.1450)
Luminance0.5362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1CD52 #6E52CD
analogous
#CDAC52 #B1CD52 #74CD52
triadic
#B1CD52 #52B1CD #CD52B1
tetradic
#B1CD52 #52CDAC #6E52CD #CD5274
square
#B1CD52 #52CDAC #6E52CD #CD5274
split-complementary
#B1CD52 #5274CD #AC52CD
monochromatic
#6B8025 #93AF33 #B1CD52 #C6DB81 #DCE8B1

Accessibility & contrast

On white

1.79
#B1CD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#B1CD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1CD52
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1CD52#FFFFFF#000000##000000
##B1CD521.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#D5C25A
Tritanopia (blue-blind)
#BAC3B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b1cd52;
/* rgb */ color: rgb(177, 205, 82);
/* oklch */ color: oklch(80.3% 0.152 120.8);
Tailwind
colors: {
  custom: {
    50: '#cbdc87',
    500: '#b1cd52',
    950: '#000000',
  },
}
SCSS
$custom: #b1cd52;
$custom-light: #cbdc87;
$custom-dark: #000000;
JSON
{
  "hex": "#b1cd52",
  "rgb": {
    "r": 177,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 73.659,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80314,
    "c": 0.15193,
    "h": 120.8
  },
  "luminance": 0.53619
}

Semantic roles & 50–950 ramp

primary
#B1CD52
secondary
#4D3C87
accent
#49DE6B
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #B1CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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