#CEF478#CEF478

#CEF478 is a very light, vivid yellow-green. Relative luminance 0.792; OKLCH L 91.4% C 0.157 H 123.6°. Best body text is #000000 at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#CEF478
RGBrgb(206, 244, 120)
HSLhsl(78, 85%, 71%)
HSVhsv(78, 51%, 96%)
CMYKcmyk(15.6%, 0%, 50.8%, 4.3%)
CIE-LABlab(91.32, -30.82, 55.14)
CIE-LCHlch(91.32, 63.17, 119.20°)
OKLaboklab(91.45% -0.0868 0.1307)
OKLCHoklch(91.45% 0.157 123.6)
XYZxyz(61.1946, 79.1790, 29.8248)
Luminance0.7918 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF478 #9E78F4
analogous
#F4DC78 #CEF478 #90F478
triadic
#CEF478 #78CEF4 #F478CE
tetradic
#CEF478 #78F4DC #9E78F4 #F47890
square
#CEF478 #78F4DC #9E78F4 #F47890
split-complementary
#CEF478 #7890F4 #DC78F4
monochromatic
#A1DF12 #B9EF3F #CEF478 #E3F9B1 #F5FDE3

Accessibility & contrast

On white

1.25
#CEF478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.84
#CEF478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF478
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF478#FFFFFF#000000##000000
##CEF4781.001.2516.8416.84
#FFFFFF1.251.0021.0021.00
#00000016.8421.001.001.00
##00000016.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76D
Deuteranopia (green-blind)
#FBE67F
Tritanopia (blue-blind)
#D6EAD8
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #cef478;
/* rgb */ color: rgb(206, 244, 120);
/* oklch */ color: oklch(91.4% 0.157 123.6);
Tailwind
colors: {
  custom: {
    50: '#dff7a2',
    500: '#cef478',
    950: '#000000',
  },
}
SCSS
$custom: #cef478;
$custom-light: #dff7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cef478",
  "rgb": {
    "r": 206,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 78.387,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91446,
    "c": 0.15689,
    "h": 123.6
  },
  "luminance": 0.79179
}

Semantic roles & 50–950 ramp

primary
#CEF478
secondary
#6D41CF
accent
#04E148
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CEF478

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

Preview Lab → · Contrast checker → · Palette generator →

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