#CEF472#CEF472

#CEF472 is a very light, vivid yellow-green. Relative luminance 0.790; OKLCH L 91.4% C 0.162 H 123.2°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#CEF472
RGBrgb(206, 244, 114)
HSLhsl(78, 86%, 70%)
HSVhsv(78, 53%, 96%)
CMYKcmyk(15.6%, 0%, 53.3%, 4.3%)
CIE-LABlab(91.25, -31.38, 57.78)
CIE-LCHlch(91.25, 65.75, 118.50°)
OKLaboklab(91.37% -0.0888 0.1359)
OKLCHoklch(91.37% 0.162 123.2)
XYZxyz(60.8418, 79.0378, 27.9668)
Luminance0.7904 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF472 #9872F4
analogous
#F4D972 #CEF472 #8DF472
triadic
#CEF472 #72CEF4 #F472CE
tetradic
#CEF472 #72F4D9 #9872F4 #F4728D
square
#CEF472 #72F4D9 #9872F4 #F4728D
split-complementary
#CEF472 #728DF4 #D972F4
monochromatic
#A0DB11 #BAF039 #CEF472 #E2F8AB #F5FDE3

Accessibility & contrast

On white

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

On black

16.81
#CEF472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF472
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF472#FFFFFF#000000##000000
##CEF4721.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE765
Deuteranopia (green-blind)
#FBE67A
Tritanopia (blue-blind)
#D6E9D7
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #cef472;
/* rgb */ color: rgb(206, 244, 114);
/* oklch */ color: oklch(91.4% 0.162 123.2);
Tailwind
colors: {
  custom: {
    50: '#dff79e',
    500: '#cef472',
    950: '#000000',
  },
}
SCSS
$custom: #cef472;
$custom-light: #dff79e;
$custom-dark: #000000;
JSON
{
  "hex": "#cef472",
  "rgb": {
    "r": 206,
    "g": 244,
    "b": 114
  },
  "hsl": {
    "h": 77.538,
    "s": 85.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.91374,
    "c": 0.16241,
    "h": 123.2
  },
  "luminance": 0.79038
}

Semantic roles & 50–950 ramp

primary
#CEF472
secondary
#673CCE
accent
#03E245
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CEF472

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

Preview Lab → · Contrast checker → · Palette generator →

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