#B5CE52#B5CE52

#B5CE52 is a light, vivid yellow-green. Relative luminance 0.546; OKLCH L 80.8% C 0.152 H 119.6°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#B5CE52
RGBrgb(181, 206, 82)
HSLhsl(72, 56%, 56%)
HSVhsv(72, 60%, 81%)
CMYKcmyk(12.1%, 0%, 60.2%, 19.2%)
CIE-LABlab(78.80, -25.81, 57.32)
CIE-LCHlch(78.80, 62.86, 114.24°)
OKLaboklab(80.83% -0.0748 0.132)
OKLCHoklch(80.83% 0.152 119.6)
XYZxyz(42.6510, 54.5758, 16.2683)
Luminance0.5458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CE52 #6B52CE
analogous
#CEA952 #B5CE52 #77CE52
triadic
#B5CE52 #52B5CE #CE52B5
tetradic
#B5CE52 #52CEA9 #6B52CE #CE5277
square
#B5CE52 #52CEA9 #6B52CE #CE5277
split-complementary
#B5CE52 #5277CE #A952CE
monochromatic
#6E8125 #97B132 #B5CE52 #C9DC82 #DEE9B1

Accessibility & contrast

On white

1.76
#B5CE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#B5CE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CE52
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CE52#FFFFFF#000000##000000
##B5CE521.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5ce52;
/* rgb */ color: rgb(181, 206, 82);
/* oklch */ color: oklch(80.8% 0.152 119.6);
Tailwind
colors: {
  custom: {
    50: '#cedd87',
    500: '#b5ce52',
    950: '#000000',
  },
}
SCSS
$custom: #b5ce52;
$custom-light: #cedd87;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ce52",
  "rgb": {
    "r": 181,
    "g": 206,
    "b": 82
  },
  "hsl": {
    "h": 72.097,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80832,
    "c": 0.15168,
    "h": 119.6
  },
  "luminance": 0.54576
}

Semantic roles & 50–950 ramp

primary
#B5CE52
secondary
#4B3C88
accent
#49DF67
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B5CE52

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

Preview Lab → · Contrast checker → · Palette generator →

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