#CBF987#CBF987

#CBF987 is a very light, vivid yellow-green. Relative luminance 0.822; OKLCH L 92.5% C 0.150 H 127.1°. Best body text is #000000 at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#CBF987
RGBrgb(203, 249, 135)
HSLhsl(84, 90%, 75%)
HSVhsv(84, 46%, 98%)
CMYKcmyk(18.5%, 0%, 45.8%, 2.4%)
CIE-LABlab(92.66, -32.70, 49.73)
CIE-LCHlch(92.66, 59.52, 123.33°)
OKLaboklab(92.54% -0.0908 0.1198)
OKLCHoklch(92.54% 0.15 127.1)
XYZxyz(62.8770, 82.1964, 35.4698)
Luminance0.8220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF987 #B587F9
analogous
#F9EE87 #CBF987 #92F987
triadic
#CBF987 #87CBF9 #F987CB
tetradic
#CBF987 #87F9EE #B587F9 #F98792
square
#CBF987 #87F9EE #B587F9 #F98792
split-complementary
#CBF987 #8792F9 #EE87F9
monochromatic
#98F312 #B2F64D #CBF987 #E4FCC1 #F2FEE2

Accessibility & contrast

On white

1.20
#CBF987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.44
#CBF987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF987
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF987#FFFFFF#000000##000000
##CBF9871.001.2017.4417.44
#FFFFFF1.201.0021.0021.00
#00000017.4421.001.001.00
##00000017.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7E
Deuteranopia (green-blind)
#FDE98D
Tritanopia (blue-blind)
#D0F0DE
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cbf987;
/* rgb */ color: rgb(203, 249, 135);
/* oklch */ color: oklch(92.5% 0.150 127.1);
Tailwind
colors: {
  custom: {
    50: '#ddfbac',
    500: '#cbf987',
    950: '#000000',
  },
}
SCSS
$custom: #cbf987;
$custom-light: #ddfbac;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf987",
  "rgb": {
    "r": 203,
    "g": 249,
    "b": 135
  },
  "hsl": {
    "h": 84.211,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.92538,
    "c": 0.15035,
    "h": 127.1
  },
  "luminance": 0.82197
}

Semantic roles & 50–950 ramp

primary
#CBF987
secondary
#854DD7
accent
#00E65D
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CBF987

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

Preview Lab → · Contrast checker → · Palette generator →

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