#CDEF78#CDEF78

#CDEF78 is a very light, vivid yellow-green. Relative luminance 0.761; OKLCH L 90.3% C 0.151 H 122.6°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#CDEF78
RGBrgb(205, 239, 120)
HSLhsl(77, 79%, 70%)
HSVhsv(77, 50%, 94%)
CMYKcmyk(14.2%, 0%, 49.8%, 6.3%)
CIE-LABlab(89.89, -28.86, 53.42)
CIE-LCHlch(89.89, 60.72, 118.38°)
OKLaboklab(90.29% -0.0812 0.127)
OKLCHoklch(90.29% 0.151 122.6)
XYZxyz(59.4337, 76.0681, 29.3172)
Luminance0.7607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDEF78 #9A78EF
analogous
#EFD678 #CDEF78 #91EF78
triadic
#CDEF78 #78CDEF #EF78CD
tetradic
#CDEF78 #78EFD6 #9A78EF #EF7891
square
#CDEF78 #78EFD6 #9A78EF #EF7891
split-complementary
#CDEF78 #7891EF #D678EF
monochromatic
#9ED419 #B9E941 #CDEF78 #E1F5AF #F5FCE4

Accessibility & contrast

On white

1.30
#CDEF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.21
#CDEF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDEF78
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDEF78#FFFFFF#000000##000000
##CDEF781.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE36D
Deuteranopia (green-blind)
#F6E27F
Tritanopia (blue-blind)
#D5E5D4
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #cdef78;
/* rgb */ color: rgb(205, 239, 120);
/* oklch */ color: oklch(90.3% 0.151 122.6);
Tailwind
colors: {
  custom: {
    50: '#def4a2',
    500: '#cdef78',
    950: '#000000',
  },
}
SCSS
$custom: #cdef78;
$custom-light: #def4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdef78",
  "rgb": {
    "r": 205,
    "g": 239,
    "b": 120
  },
  "hsl": {
    "h": 77.143,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90285,
    "c": 0.15074,
    "h": 122.6
  },
  "luminance": 0.76068
}

Semantic roles & 50–950 ramp

primary
#CDEF78
secondary
#6943C9
accent
#0ADB46
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CDEF78

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

Preview Lab → · Contrast checker → · Palette generator →

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