#B5CE42#B5CE42

#B5CE42 is a light, vivid yellow-green. Relative luminance 0.544; OKLCH L 80.7% C 0.164 H 119.0°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#B5CE42
RGBrgb(181, 206, 66)
HSLhsl(71, 59%, 53%)
HSVhsv(71, 68%, 81%)
CMYKcmyk(12.1%, 0%, 68%, 19.2%)
CIE-LABlab(78.67, -26.89, 63.68)
CIE-LCHlch(78.67, 69.12, 112.89°)
OKLaboklab(80.69% -0.0793 0.1432)
OKLCHoklch(80.69% 0.164 119)
XYZxyz(42.1115, 54.3600, 13.4273)
Luminance0.5436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CE42 #5B42CE
analogous
#CEA142 #B5CE42 #6FCE42
triadic
#B5CE42 #42B5CE #CE42B5
tetradic
#B5CE42 #42CEA1 #5B42CE #CE426F
square
#B5CE42 #42CEA1 #5B42CE #CE426F
split-complementary
#B5CE42 #426FCE #A142CE
monochromatic
#67771F #91A72B #B5CE42 #C8DB73 #DBE7A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5CE42#FFFFFF#000000##000000
##B5CE421.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)
#DBC32D
Deuteranopia (green-blind)
#D8C34D
Tritanopia (blue-blind)
#BFC3B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b5ce42;
/* rgb */ color: rgb(181, 206, 66);
/* oklch */ color: oklch(80.7% 0.164 119.0);
Tailwind
colors: {
  custom: {
    50: '#cedd7e',
    500: '#b5ce42',
    950: '#000000',
  },
}
SCSS
$custom: #b5ce42;
$custom-light: #cedd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ce42",
  "rgb": {
    "r": 181,
    "g": 206,
    "b": 66
  },
  "hsl": {
    "h": 70.714,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80692,
    "c": 0.16368,
    "h": 119
  },
  "luminance": 0.5436
}

Semantic roles & 50–950 ramp

primary
#B5CE42
secondary
#42357F
accent
#46E262
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B5CE42

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

Preview Lab → · Contrast checker → · Palette generator →

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