#CEF372#CEF372

#CEF372 is a very light, vivid yellow-green. Relative luminance 0.784; OKLCH L 91.2% C 0.161 H 122.9°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#CEF372
RGBrgb(206, 243, 114)
HSLhsl(77, 84%, 70%)
HSVhsv(77, 53%, 95%)
CMYKcmyk(15.2%, 0%, 53.1%, 4.7%)
CIE-LABlab(90.98, -30.91, 57.47)
CIE-LCHlch(90.98, 65.25, 118.28°)
OKLaboklab(91.16% -0.0876 0.1353)
OKLCHoklch(91.16% 0.161 122.9)
XYZxyz(60.5417, 78.4377, 27.8668)
Luminance0.7844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF372 #9772F3
analogous
#F3D772 #CEF372 #8EF372
triadic
#CEF372 #72CEF3 #F372CE
tetradic
#CEF372 #72F3D7 #9772F3 #F3728E
square
#CEF372 #72F3D7 #9772F3 #F3728E
split-complementary
#CEF372 #728EF3 #D772F3
monochromatic
#9FD812 #BAEE3A #CEF372 #E2F8AA #F5FDE3

Accessibility & contrast

On white

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

On black

16.69
#CEF372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF372
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF372#FFFFFF#000000##000000
##CEF3721.001.2616.6916.69
#FFFFFF1.261.0021.0021.00
#00000016.6921.001.001.00
##00000016.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cef372;
/* rgb */ color: rgb(206, 243, 114);
/* oklch */ color: oklch(91.2% 0.161 122.9);
Tailwind
colors: {
  custom: {
    50: '#dff79e',
    500: '#cef372',
    950: '#000000',
  },
}
SCSS
$custom: #cef372;
$custom-light: #dff79e;
$custom-dark: #000000;
JSON
{
  "hex": "#cef372",
  "rgb": {
    "r": 206,
    "g": 243,
    "b": 114
  },
  "hsl": {
    "h": 77.209,
    "s": 84.314,
    "l": 70
  },
  "oklch": {
    "l": 0.91155,
    "c": 0.16113,
    "h": 122.9
  },
  "luminance": 0.78438
}

Semantic roles & 50–950 ramp

primary
#CEF372
secondary
#663CCD
accent
#05E144
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CEF372

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

Preview Lab → · Contrast checker → · Palette generator →

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