#CEF980#CEF980

#CEF980 is a very light, vivid yellow-green. Relative luminance 0.824; OKLCH L 92.6% C 0.156 H 125.4°. Best body text is #000000 at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#CEF980
RGBrgb(206, 249, 128)
HSLhsl(81, 91%, 74%)
HSVhsv(81, 49%, 98%)
CMYKcmyk(17.3%, 0%, 48.6%, 2.4%)
CIE-LABlab(92.76, -32.34, 53.19)
CIE-LCHlch(92.76, 62.25, 121.31°)
OKLaboklab(92.64% -0.0904 0.127)
OKLCHoklch(92.64% 0.156 125.4)
XYZxyz(63.2254, 82.4311, 32.9977)
Luminance0.8243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF980 #AB80F9
analogous
#F9E780 #CEF980 #92F980
triadic
#CEF980 #80CEF9 #F980CE
tetradic
#CEF980 #80F9E7 #AB80F9 #F98092
square
#CEF980 #80F9E7 #AB80F9 #F98092
split-complementary
#CEF980 #8092F9 #E780F9
monochromatic
#A1F30B #B7F646 #CEF980 #E5FCBA #F4FEE2

Accessibility & contrast

On white

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

On black

17.49
#CEF980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF980
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF980#FFFFFF#000000##000000
##CEF9801.001.2017.4917.49
#FFFFFF1.201.0021.0021.00
#00000017.4921.001.001.00
##00000017.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC75
Deuteranopia (green-blind)
#FEEA87
Tritanopia (blue-blind)
#D5EFDD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cef980;
/* rgb */ color: rgb(206, 249, 128);
/* oklch */ color: oklch(92.6% 0.156 125.4);
Tailwind
colors: {
  custom: {
    50: '#dffba7',
    500: '#cef980',
    950: '#000000',
  },
}
SCSS
$custom: #cef980;
$custom-light: #dffba7;
$custom-dark: #000000;
JSON
{
  "hex": "#cef980",
  "rgb": {
    "r": 206,
    "g": 249,
    "b": 128
  },
  "hsl": {
    "h": 81.322,
    "s": 90.977,
    "l": 73.922
  },
  "oklch": {
    "l": 0.92642,
    "c": 0.15592,
    "h": 125.4
  },
  "luminance": 0.82432
}

Semantic roles & 50–950 ramp

primary
#CEF980
secondary
#7A47D6
accent
#00E652
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #CEF980

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

Preview Lab → · Contrast checker → · Palette generator →

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