#B1CD38#B1CD38

#B1CD38 is a light, vivid yellow-green. Relative luminance 0.533; OKLCH L 80.1% C 0.170 H 119.8°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#B1CD38
RGBrgb(177, 205, 56)
HSLhsl(71, 60%, 51%)
HSVhsv(71, 73%, 80%)
CMYKcmyk(13.7%, 0%, 72.7%, 19.6%)
CIE-LABlab(78.05, -28.59, 66.57)
CIE-LCHlch(78.05, 72.45, 113.24°)
OKLaboklab(80.1% -0.0847 0.1478)
OKLCHoklch(80.1% 0.17 119.8)
XYZxyz(40.6774, 53.2955, 11.8847)
Luminance0.5330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1CD38 #5438CD
analogous
#CD9E38 #B1CD38 #66CD38
triadic
#B1CD38 #38B1CD #CD38B1
tetradic
#B1CD38 #38CD9E #5438CD #CD3866
square
#B1CD38 #38CD9E #5438CD #CD3866
split-complementary
#B1CD38 #3866CD #9E38CD
monochromatic
#5F6F1C #89A028 #B1CD38 #C4D969 #D7E69A

Accessibility & contrast

On white

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

On black

11.66
#B1CD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1CD38
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1CD38#FFFFFF#000000##000000
##B1CD381.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11A
Deuteranopia (green-blind)
#D7C145
Tritanopia (blue-blind)
#BBC2B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b1cd38;
/* rgb */ color: rgb(177, 205, 56);
/* oklch */ color: oklch(80.1% 0.170 119.8);
Tailwind
colors: {
  custom: {
    50: '#ccdc79',
    500: '#b1cd38',
    950: '#000000',
  },
}
SCSS
$custom: #b1cd38;
$custom-light: #ccdc79;
$custom-dark: #000000;
JSON
{
  "hex": "#b1cd38",
  "rgb": {
    "r": 177,
    "g": 205,
    "b": 56
  },
  "hsl": {
    "h": 71.275,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.801,
    "c": 0.17032,
    "h": 119.8
  },
  "luminance": 0.53295
}

Semantic roles & 50–950 ramp

primary
#B1CD38
secondary
#3E3178
accent
#45E363
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B1CD38

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

Preview Lab → · Contrast checker → · Palette generator →

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