#CEF370#CEF370

#CEF370 is a very light, vivid yellow-green. Relative luminance 0.784; OKLCH L 91.1% C 0.163 H 122.8°. Best body text is #000000 at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#CEF370
RGBrgb(206, 243, 112)
HSLhsl(77, 85%, 70%)
HSVhsv(77, 54%, 95%)
CMYKcmyk(15.2%, 0%, 53.9%, 4.7%)
CIE-LABlab(90.96, -31.09, 58.34)
CIE-LCHlch(90.96, 66.11, 118.06°)
OKLaboklab(91.13% -0.0882 0.137)
OKLCHoklch(91.13% 0.163 122.8)
XYZxyz(60.4291, 78.3927, 27.2738)
Luminance0.7839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF370 #9570F3
analogous
#F3D770 #CEF370 #8CF370
triadic
#CEF370 #70CEF3 #F370CE
tetradic
#CEF370 #70F3D7 #9570F3 #F3708C
square
#CEF370 #70F3D7 #9570F3 #F3708C
split-complementary
#CEF370 #708CF3 #D770F3
monochromatic
#9FD712 #BBEE38 #CEF370 #E1F8A8 #F5FCE1

Accessibility & contrast

On white

1.26
#CEF370 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.68
#CEF370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF370
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF370#FFFFFF#000000##000000
##CEF3701.001.2616.6816.68
#FFFFFF1.261.0021.0021.00
#00000016.6821.001.001.00
##00000016.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE663
Deuteranopia (green-blind)
#FBE578
Tritanopia (blue-blind)
#D7E8D6
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cef370;
/* rgb */ color: rgb(206, 243, 112);
/* oklch */ color: oklch(91.1% 0.163 122.8);
Tailwind
colors: {
  custom: {
    50: '#dff79d',
    500: '#cef370',
    950: '#000000',
  },
}
SCSS
$custom: #cef370;
$custom-light: #dff79d;
$custom-dark: #000000;
JSON
{
  "hex": "#cef370",
  "rgb": {
    "r": 206,
    "g": 243,
    "b": 112
  },
  "hsl": {
    "h": 76.947,
    "s": 84.516,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91132,
    "c": 0.16292,
    "h": 122.8
  },
  "luminance": 0.78393
}

Semantic roles & 50–950 ramp

primary
#CEF370
secondary
#643BCD
accent
#05E143
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CEF370

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

Preview Lab → · Contrast checker → · Palette generator →

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