#B1CD40#B1CD40

#B1CD40 is a light, vivid yellow-green. Relative luminance 0.534; OKLCH L 80.2% C 0.165 H 120.0°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#B1CD40
RGBrgb(177, 205, 64)
HSLhsl(72, 59%, 53%)
HSVhsv(72, 69%, 80%)
CMYKcmyk(13.7%, 0%, 68.8%, 19.6%)
CIE-LABlab(78.10, -28.15, 63.76)
CIE-LCHlch(78.10, 69.70, 113.82°)
OKLaboklab(80.16% -0.0828 0.1431)
OKLCHoklch(80.16% 0.165 120)
XYZxyz(40.8889, 53.3801, 12.9988)
Luminance0.5338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1CD40 #5C40CD
analogous
#CDA240 #B1CD40 #6ACD40
triadic
#B1CD40 #40B1CD #CD40B1
tetradic
#B1CD40 #40CDA2 #5C40CD #CD406A
square
#B1CD40 #40CDA2 #5C40CD #CD406A
split-complementary
#B1CD40 #406ACD #A240CD
monochromatic
#63741E #8DA52B #B1CD40 #C5DA71 #D9E6A1

Accessibility & contrast

On white

1.80
#B1CD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#B1CD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1CD40
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1CD40#FFFFFF#000000##000000
##B1CD401.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC12A
Deuteranopia (green-blind)
#D6C14B
Tritanopia (blue-blind)
#BBC2B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b1cd40;
/* rgb */ color: rgb(177, 205, 64);
/* oklch */ color: oklch(80.2% 0.165 120.0);
Tailwind
colors: {
  custom: {
    50: '#ccdc7d',
    500: '#b1cd40',
    950: '#000000',
  },
}
SCSS
$custom: #b1cd40;
$custom-light: #ccdc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1cd40",
  "rgb": {
    "r": 177,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 71.915,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80156,
    "c": 0.16535,
    "h": 120
  },
  "luminance": 0.5338
}

Semantic roles & 50–950 ramp

primary
#B1CD40
secondary
#43347D
accent
#46E265
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B1CD40

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

Preview Lab → · Contrast checker → · Palette generator →

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