#CEF56C#CEF56C

#CEF56C is a very light, vivid yellow-green. Relative luminance 0.795; OKLCH L 91.5% C 0.169 H 123.0°. Best body text is #000000 at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#CEF56C
RGBrgb(206, 245, 108)
HSLhsl(77, 87%, 69%)
HSVhsv(77, 56%, 96%)
CMYKcmyk(15.9%, 0%, 55.9%, 3.9%)
CIE-LABlab(91.46, -32.36, 60.68)
CIE-LCHlch(91.46, 68.77, 118.07°)
OKLaboklab(91.53% -0.0921 0.1416)
OKLCHoklch(91.53% 0.169 123)
XYZxyz(60.8131, 79.5091, 26.3274)
Luminance0.7951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF56C #936CF5
analogous
#F5D76C #CEF56C #8AF56C
triadic
#CEF56C #6CCEF5 #F56CCE
tetradic
#CEF56C #6CF5D7 #936CF5 #F56C8A
square
#CEF56C #6CF5D7 #936CF5 #F56C8A
split-complementary
#CEF56C #6C8AF5 #D76CF5
monochromatic
#9FD80F #BBF133 #CEF56C #E1F9A5 #F4FDDF

Accessibility & contrast

On white

1.24
#CEF56C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.90
#CEF56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF56C
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF56C#FFFFFF#000000##000000
##CEF56C1.001.2416.9016.90
#FFFFFF1.241.0021.0021.00
#00000016.9021.001.001.00
##00000016.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE85E
Deuteranopia (green-blind)
#FDE675
Tritanopia (blue-blind)
#D7EAD7
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #cef56c;
/* rgb */ color: rgb(206, 245, 108);
/* oklch */ color: oklch(91.5% 0.169 123.0);
Tailwind
colors: {
  custom: {
    50: '#dff89a',
    500: '#cef56c',
    950: '#000000',
  },
}
SCSS
$custom: #cef56c;
$custom-light: #dff89a;
$custom-dark: #000000;
JSON
{
  "hex": "#cef56c",
  "rgb": {
    "r": 206,
    "g": 245,
    "b": 108
  },
  "hsl": {
    "h": 77.08,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.91526,
    "c": 0.16896,
    "h": 123
  },
  "luminance": 0.79509
}

Semantic roles & 50–950 ramp

primary
#CEF56C
secondary
#6237CF
accent
#02E442
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CEF56C

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

Preview Lab → · Contrast checker → · Palette generator →

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