#CBF187#CBF187

#CBF187 is a very light, vivid yellow-green. Relative luminance 0.774; OKLCH L 90.8% C 0.139 H 125.2°. Best body text is #000000 at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#CBF187
RGBrgb(203, 241, 135)
HSLhsl(82, 79%, 74%)
HSVhsv(82, 44%, 95%)
CMYKcmyk(15.8%, 0%, 44%, 5.5%)
CIE-LABlab(90.49, -28.98, 47.03)
CIE-LCHlch(90.49, 55.25, 121.64°)
OKLaboklab(90.79% -0.0804 0.1138)
OKLCHoklch(90.79% 0.139 125.2)
XYZxyz(60.4568, 77.3559, 34.6631)
Luminance0.7736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF187 #AD87F1
analogous
#F1E287 #CBF187 #96F187
triadic
#CBF187 #87CBF1 #F187CB
tetradic
#CBF187 #87F1E2 #AD87F1 #F18796
square
#CBF187 #87F1E2 #AD87F1 #F18796
split-complementary
#CBF187 #8796F1 #E287F1
monochromatic
#9BE31A #B3EB50 #CBF187 #E3F7BE #F3FCE4

Accessibility & contrast

On white

1.27
#CBF187 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.47
#CBF187 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF187
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF187#FFFFFF#000000##000000
##CBF1871.001.2716.4716.47
#FFFFFF1.271.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE57E
Deuteranopia (green-blind)
#F6E38D
Tritanopia (blue-blind)
#D1E8D8
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cbf187;
/* rgb */ color: rgb(203, 241, 135);
/* oklch */ color: oklch(90.8% 0.139 125.2);
Tailwind
colors: {
  custom: {
    50: '#dcf5ac',
    500: '#cbf187',
    950: '#000000',
  },
}
SCSS
$custom: #cbf187;
$custom-light: #dcf5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf187",
  "rgb": {
    "r": 203,
    "g": 241,
    "b": 135
  },
  "hsl": {
    "h": 81.509,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.90788,
    "c": 0.13931,
    "h": 125.2
  },
  "luminance": 0.77356
}

Semantic roles & 50–950 ramp

primary
#CBF187
secondary
#7C50CD
accent
#0ADB55
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CBF187

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

Preview Lab → · Contrast checker → · Palette generator →

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