#B5CD42#B5CD42

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

Color values

HEX#B5CD42
RGBrgb(181, 205, 66)
HSLhsl(70, 58%, 53%)
HSVhsv(70, 68%, 80%)
CMYKcmyk(11.7%, 0%, 67.8%, 19.6%)
CIE-LABlab(78.39, -26.41, 63.39)
CIE-LCHlch(78.39, 68.67, 112.62°)
OKLaboklab(80.47% -0.078 0.1426)
OKLCHoklch(80.47% 0.163 118.7)
XYZxyz(41.8716, 53.8801, 13.3473)
Luminance0.5388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CD42 #5A42CD
analogous
#CDA042 #B5CD42 #6FCD42
triadic
#B5CD42 #42B5CD #CD42B5
tetradic
#B5CD42 #42CDA0 #5A42CD #CD426F
square
#B5CD42 #42CDA0 #5A42CD #CD426F
split-complementary
#B5CD42 #426FCD #A042CD
monochromatic
#67761F #91A62C #B5CD42 #C8DA72 #DBE7A3

Accessibility & contrast

On white

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

On black

11.78
#B5CD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CD42
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CD42#FFFFFF#000000##000000
##B5CD421.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22D
Deuteranopia (green-blind)
#D7C24D
Tritanopia (blue-blind)
#BFC2B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b5cd42;
/* rgb */ color: rgb(181, 205, 66);
/* oklch */ color: oklch(80.5% 0.163 118.7);
Tailwind
colors: {
  custom: {
    50: '#cedc7e',
    500: '#b5cd42',
    950: '#000000',
  },
}
SCSS
$custom: #b5cd42;
$custom-light: #cedc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cd42",
  "rgb": {
    "r": 181,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 70.36,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80467,
    "c": 0.16252,
    "h": 118.7
  },
  "luminance": 0.5388
}

Semantic roles & 50–950 ramp

primary
#B5CD42
secondary
#42357E
accent
#46E161
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B5CD42

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

Preview Lab → · Contrast checker → · Palette generator →

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