#CFE788#CFE788

#CFE788 is a very light, vivid yellow-green. Relative luminance 0.722; OKLCH L 88.9% C 0.123 H 120.5°. Best body text is #000000 at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#CFE788
RGBrgb(207, 231, 136)
HSLhsl(75, 66%, 72%)
HSVhsv(75, 41%, 91%)
CMYKcmyk(10.4%, 0%, 41.1%, 9.4%)
CIE-LABlab(88.06, -22.62, 43.56)
CIE-LCHlch(88.06, 49.09, 117.44°)
OKLaboklab(88.92% -0.0625 0.106)
OKLCHoklch(88.92% 0.123 120.5)
XYZxyz(58.7520, 72.1949, 34.1276)
Luminance0.7219 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE788 #A088E7
analogous
#E7D088 #CFE788 #A0E788
triadic
#CFE788 #88CFE7 #E788CF
tetradic
#CFE788 #88E7D0 #A088E7 #E788A0
square
#CFE788 #88E7D0 #A088E7 #E788A0
split-complementary
#CFE788 #88A0E7 #D088E7
monochromatic
#A2CC29 #BADD55 #CFE788 #E4F1BB #F5FAE6

Accessibility & contrast

On white

1.36
#CFE788 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.44
#CFE788 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE788
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE788#FFFFFF#000000##000000
##CFE7881.001.3615.4415.44
#FFFFFF1.361.0021.0021.00
#00000015.4421.001.001.00
##00000015.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DD81
Deuteranopia (green-blind)
#EFDD8D
Tritanopia (blue-blind)
#D7DED0
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cfe788;
/* rgb */ color: rgb(207, 231, 136);
/* oklch */ color: oklch(88.9% 0.123 120.5);
Tailwind
colors: {
  custom: {
    50: '#dfeeac',
    500: '#cfe788',
    950: '#000000',
  },
}
SCSS
$custom: #cfe788;
$custom-light: #dfeeac;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe788",
  "rgb": {
    "r": 207,
    "g": 231,
    "b": 136
  },
  "hsl": {
    "h": 75.158,
    "s": 66.434,
    "l": 71.961
  },
  "oklch": {
    "l": 0.88917,
    "c": 0.12307,
    "h": 120.5
  },
  "luminance": 0.72195
}

Semantic roles & 50–950 ramp

primary
#CFE788
secondary
#6F53C0
accent
#17CE45
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CFE788

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

Preview Lab → · Contrast checker → · Palette generator →

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