#B1CD42#B1CD42

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

Color values

HEX#B1CD42
RGBrgb(177, 205, 66)
HSLhsl(72, 58%, 53%)
HSVhsv(72, 68%, 80%)
CMYKcmyk(13.7%, 0%, 67.8%, 19.6%)
CIE-LABlab(78.11, -28.03, 63.02)
CIE-LCHlch(78.11, 68.97, 113.98°)
OKLaboklab(80.17% -0.0823 0.1419)
OKLCHoklch(80.17% 0.164 120.1)
XYZxyz(40.9468, 53.4033, 13.3039)
Luminance0.5340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1CD42 #5E42CD
analogous
#CDA342 #B1CD42 #6BCD42
triadic
#B1CD42 #42B1CD #CD42B1
tetradic
#B1CD42 #42CDA3 #5E42CD #CD426B
square
#B1CD42 #42CDA3 #5E42CD #CD426B
split-complementary
#B1CD42 #426BCD #A342CD
monochromatic
#64761F #8DA62C #B1CD42 #C5DA72 #D9E7A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1CD42#FFFFFF#000000##000000
##B1CD421.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)
#DAC12D
Deuteranopia (green-blind)
#D6C14D
Tritanopia (blue-blind)
#BBC2B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b1cd42;
/* rgb */ color: rgb(177, 205, 66);
/* oklch */ color: oklch(80.2% 0.164 120.1);
Tailwind
colors: {
  custom: {
    50: '#cbdc7e',
    500: '#b1cd42',
    950: '#000000',
  },
}
SCSS
$custom: #b1cd42;
$custom-light: #cbdc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1cd42",
  "rgb": {
    "r": 177,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 72.086,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80172,
    "c": 0.16401,
    "h": 120.1
  },
  "luminance": 0.53403
}

Semantic roles & 50–950 ramp

primary
#B1CD42
secondary
#44357E
accent
#46E166
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B1CD42

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

Preview Lab → · Contrast checker → · Palette generator →

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