#B5CD40#B5CD40

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

Color values

HEX#B5CD40
RGBrgb(181, 205, 64)
HSLhsl(70, 59%, 53%)
HSVhsv(70, 69%, 80%)
CMYKcmyk(11.7%, 0%, 68.8%, 19.6%)
CIE-LABlab(78.38, -26.53, 64.13)
CIE-LCHlch(78.38, 69.40, 112.47°)
OKLaboklab(80.45% -0.0785 0.1438)
OKLCHoklch(80.45% 0.164 118.6)
XYZxyz(41.8136, 53.8569, 13.0422)
Luminance0.5386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CD40 #5840CD
analogous
#CD9F40 #B5CD40 #6ECD40
triadic
#B5CD40 #40B5CD #CD40B5
tetradic
#B5CD40 #40CD9F #5840CD #CD406E
square
#B5CD40 #40CD9F #5840CD #CD406E
split-complementary
#B5CD40 #406ECD #9F40CD
monochromatic
#66741E #90A52B #B5CD40 #C8DA71 #DBE6A1

Accessibility & contrast

On white

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

On black

11.77
#B5CD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CD40
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CD40#FFFFFF#000000##000000
##B5CD401.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22A
Deuteranopia (green-blind)
#D8C24B
Tritanopia (blue-blind)
#C0C2B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b5cd40;
/* rgb */ color: rgb(181, 205, 64);
/* oklch */ color: oklch(80.5% 0.164 118.6);
Tailwind
colors: {
  custom: {
    50: '#cedc7d',
    500: '#b5cd40',
    950: '#000000',
  },
}
SCSS
$custom: #b5cd40;
$custom-light: #cedc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cd40",
  "rgb": {
    "r": 181,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 70.213,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80452,
    "c": 0.16385,
    "h": 118.6
  },
  "luminance": 0.53857
}

Semantic roles & 50–950 ramp

primary
#B5CD40
secondary
#41347D
accent
#46E261
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B5CD40

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

Preview Lab → · Contrast checker → · Palette generator →

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