#CEF797#CEF797

#CEF797 is a very light, vivid yellow-green. Relative luminance 0.819; OKLCH L 92.5% C 0.130 H 127.6°. Best body text is #000000 at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#CEF797
RGBrgb(206, 247, 151)
HSLhsl(86, 86%, 78%)
HSVhsv(86, 39%, 97%)
CMYKcmyk(16.6%, 0%, 38.9%, 3.1%)
CIE-LABlab(92.52, -28.83, 41.88)
CIE-LCHlch(92.52, 50.84, 124.55°)
OKLaboklab(92.54% -0.0791 0.1028)
OKLCHoklch(92.54% 0.13 127.6)
XYZxyz(64.2996, 81.8770, 41.6884)
Luminance0.8188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF797 #C097F7
analogous
#F7F097 #CEF797 #9EF797
triadic
#CEF797 #97CEF7 #F797CE
tetradic
#CEF797 #97F7F0 #C097F7 #F7979E
square
#CEF797 #97F7F0 #C097F7 #F7979E
split-complementary
#CEF797 #979EF7 #F097F7
monochromatic
#98EE25 #B3F35E #CEF797 #E9FBD0 #F2FDE3

Accessibility & contrast

On white

1.21
#CEF797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.38
#CEF797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF797
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF797#FFFFFF#000000##000000
##CEF7971.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB90
Deuteranopia (green-blind)
#FAE99C
Tritanopia (blue-blind)
#D3EFDF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cef797;
/* rgb */ color: rgb(206, 247, 151);
/* oklch */ color: oklch(92.5% 0.130 127.6);
Tailwind
colors: {
  custom: {
    50: '#defab7',
    500: '#cef797',
    950: '#000000',
  },
}
SCSS
$custom: #cef797;
$custom-light: #defab7;
$custom-dark: #000000;
JSON
{
  "hex": "#cef797",
  "rgb": {
    "r": 206,
    "g": 247,
    "b": 151
  },
  "hsl": {
    "h": 85.625,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.92543,
    "c": 0.12974,
    "h": 127.6
  },
  "luminance": 0.81878
}

Semantic roles & 50–950 ramp

primary
#CEF797
secondary
#905CD6
accent
#03E262
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEF797

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

Preview Lab → · Contrast checker → · Palette generator →

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