#CEF897#CEF897

#CEF897 is a very light, vivid yellow-green. Relative luminance 0.825; OKLCH L 92.8% C 0.131 H 127.8°. Best body text is #000000 at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#CEF897
RGBrgb(206, 248, 151)
HSLhsl(86, 87%, 78%)
HSVhsv(86, 39%, 97%)
CMYKcmyk(16.9%, 0%, 39.1%, 2.7%)
CIE-LABlab(92.79, -29.30, 42.22)
CIE-LCHlch(92.79, 51.40, 124.76°)
OKLaboklab(92.76% -0.0804 0.1036)
OKLCHoklch(92.76% 0.131 127.8)
XYZxyz(64.6062, 82.4902, 41.7906)
Luminance0.8249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF897 #C197F8
analogous
#F8F197 #CEF897 #9DF897
triadic
#CEF897 #97CEF8 #F897CE
tetradic
#CEF897 #97F8F1 #C197F8 #F8979D
square
#CEF897 #97F8F1 #C197F8 #F8979D
split-complementary
#CEF897 #979DF8 #F197F8
monochromatic
#98F024 #B3F45E #CEF897 #E9FCD0 #F1FDE2

Accessibility & contrast

On white

1.20
#CEF897 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.50
#CEF897 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF897
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF897#FFFFFF#000000##000000
##CEF8971.001.2017.5017.50
#FFFFFF1.201.0021.0021.00
#00000017.5021.001.001.00
##00000017.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC90
Deuteranopia (green-blind)
#FBE99C
Tritanopia (blue-blind)
#D2F0E0
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cef897;
/* rgb */ color: rgb(206, 248, 151);
/* oklch */ color: oklch(92.8% 0.131 127.8);
Tailwind
colors: {
  custom: {
    50: '#defab7',
    500: '#cef897',
    950: '#000000',
  },
}
SCSS
$custom: #cef897;
$custom-light: #defab7;
$custom-dark: #000000;
JSON
{
  "hex": "#cef897",
  "rgb": {
    "r": 206,
    "g": 248,
    "b": 151
  },
  "hsl": {
    "h": 85.979,
    "s": 87.387,
    "l": 78.235
  },
  "oklch": {
    "l": 0.9276,
    "c": 0.13117,
    "h": 127.8
  },
  "luminance": 0.82491
}

Semantic roles & 50–950 ramp

primary
#CEF897
secondary
#915CD8
accent
#02E464
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEF897

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

Preview Lab → · Contrast checker → · Palette generator →

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