#CFE766#CFE766

#CFE766 is a very light, vivid yellow-green. Relative luminance 0.714; OKLCH L 88.5% C 0.156 H 118.5°. Best body text is #000000 at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#CFE766
RGBrgb(207, 231, 102)
HSLhsl(71, 73%, 65%)
HSVhsv(71, 56%, 91%)
CMYKcmyk(10.4%, 0%, 55.8%, 9.4%)
CIE-LABlab(87.67, -25.92, 59.01)
CIE-LCHlch(87.67, 64.45, 113.71°)
OKLaboklab(88.47% -0.0747 0.1374)
OKLCHoklch(88.47% 0.156 118.5)
XYZxyz(56.7071, 71.3769, 23.3576)
Luminance0.7138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE766 #7E66E7
analogous
#E7BF66 #CFE766 #8EE766
triadic
#CFE766 #66CFE7 #E766CF
tetradic
#CFE766 #66E7BF #7E66E7 #E7668E
square
#CFE766 #66E7BF #7E66E7 #E7668E
split-complementary
#CFE766 #668EE7 #BF66E7
monochromatic
#99B61D #BEDF31 #CFE766 #E0EF9B #F0F8D0

Accessibility & contrast

On white

1.37
#CFE766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.28
#CFE766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE766
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE766#FFFFFF#000000##000000
##CFE7661.001.3715.2815.28
#FFFFFF1.371.0021.0021.00
#00000015.2821.001.001.00
##00000015.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC59
Deuteranopia (green-blind)
#F2DC6E
Tritanopia (blue-blind)
#DADCCB
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cfe766;
/* rgb */ color: rgb(207, 231, 102);
/* oklch */ color: oklch(88.5% 0.156 118.5);
Tailwind
colors: {
  custom: {
    50: '#e0ee96',
    500: '#cfe766',
    950: '#000000',
  },
}
SCSS
$custom: #cfe766;
$custom-light: #e0ee96;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe766",
  "rgb": {
    "r": 207,
    "g": 231,
    "b": 102
  },
  "hsl": {
    "h": 71.163,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.88473,
    "c": 0.1564,
    "h": 118.5
  },
  "luminance": 0.71377
}

Semantic roles & 50–950 ramp

primary
#CFE766
secondary
#523BB6
accent
#11D535
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160E
muted
#84857F

Preview Lab

Preview with #CFE766

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

Preview Lab → · Contrast checker → · Palette generator →

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