#CFEB87#CFEB87

#CFEB87 is a very light, vivid yellow-green. Relative luminance 0.744; OKLCH L 89.8% C 0.130 H 121.8°. Best body text is #000000 at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#CFEB87
RGBrgb(207, 235, 135)
HSLhsl(77, 71%, 73%)
HSVhsv(77, 43%, 92%)
CMYKcmyk(11.9%, 0%, 42.6%, 7.8%)
CIE-LABlab(89.13, -24.66, 45.39)
CIE-LCHlch(89.13, 51.65, 118.51°)
OKLaboklab(89.76% -0.0684 0.1101)
OKLCHoklch(89.76% 0.13 121.8)
XYZxyz(59.8137, 74.4313, 34.1325)
Luminance0.7443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEB87 #A387EB
analogous
#EBD587 #CFEB87 #9DEB87
triadic
#CFEB87 #87CFEB #EB87CF
tetradic
#CFEB87 #87EBD5 #A387EB #EB879D
square
#CFEB87 #87EBD5 #A387EB #EB879D
split-complementary
#CFEB87 #879DEB #D587EB
monochromatic
#A3D423 #BAE253 #CFEB87 #E4F4BB #F5FBE5

Accessibility & contrast

On white

1.32
#CFEB87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.89
#CFEB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEB87
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEB87#FFFFFF#000000##000000
##CFEB871.001.3215.8915.89
#FFFFFF1.321.0021.0021.00
#00000015.8921.001.001.00
##00000015.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E07F
Deuteranopia (green-blind)
#F2E08C
Tritanopia (blue-blind)
#D7E2D3
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #cfeb87;
/* rgb */ color: rgb(207, 235, 135);
/* oklch */ color: oklch(89.8% 0.130 121.8);
Tailwind
colors: {
  custom: {
    50: '#dff1ab',
    500: '#cfeb87',
    950: '#000000',
  },
}
SCSS
$custom: #cfeb87;
$custom-light: #dff1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cfeb87",
  "rgb": {
    "r": 207,
    "g": 235,
    "b": 135
  },
  "hsl": {
    "h": 76.8,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.89764,
    "c": 0.12957,
    "h": 121.8
  },
  "luminance": 0.74431
}

Semantic roles & 50–950 ramp

primary
#CFEB87
secondary
#7251C5
accent
#12D348
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CFEB87

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

Preview Lab → · Contrast checker → · Palette generator →

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