#CFE960#CFE960

#CFE960 is a very light, vivid yellow-green. Relative luminance 0.724; OKLCH L 88.8% C 0.164 H 118.9°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#CFE960
RGBrgb(207, 233, 96)
HSLhsl(71, 76%, 65%)
HSVhsv(71, 59%, 91%)
CMYKcmyk(11.2%, 0%, 58.8%, 8.6%)
CIE-LABlab(88.16, -27.34, 62.16)
CIE-LCHlch(88.16, 67.90, 113.74°)
OKLaboklab(88.85% -0.0792 0.1435)
OKLCHoklch(88.85% 0.164 118.9)
XYZxyz(56.9832, 72.3881, 22.0344)
Luminance0.7239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE960 #7A60E9
analogous
#E9BF60 #CFE960 #8BE960
triadic
#CFE960 #60CFE9 #E960CF
tetradic
#CFE960 #60E9BF #7A60E9 #E9608B
square
#CFE960 #60E9BF #7A60E9 #E9608B
split-complementary
#CFE960 #608BE9 #BF60E9
monochromatic
#98B519 #BFE22A #CFE960 #DFF096 #EFF8CC

Accessibility & contrast

On white

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

On black

15.48
#CFE960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE960
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE960#FFFFFF#000000##000000
##CFE9601.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD51
Deuteranopia (green-blind)
#F4DE69
Tritanopia (blue-blind)
#DADECC
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cfe960;
/* rgb */ color: rgb(207, 233, 96);
/* oklch */ color: oklch(88.8% 0.164 118.9);
Tailwind
colors: {
  custom: {
    50: '#e0f092',
    500: '#cfe960',
    950: '#000000',
  },
}
SCSS
$custom: #cfe960;
$custom-light: #e0f092;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe960",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 96
  },
  "hsl": {
    "h": 71.387,
    "s": 75.691,
    "l": 64.51
  },
  "oklch": {
    "l": 0.88846,
    "c": 0.16389,
    "h": 118.9
  },
  "luminance": 0.72388
}

Semantic roles & 50–950 ramp

primary
#CFE960
secondary
#5038B5
accent
#0ED834
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CFE960

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

Preview Lab → · Contrast checker → · Palette generator →

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