#CEF397#CEF397

#CEF397 is a very light, vivid yellow-green. Relative luminance 0.795; OKLCH L 91.7% C 0.124 H 126.6°. Best body text is #000000 at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#CEF397
RGBrgb(206, 243, 151)
HSLhsl(84, 79%, 77%)
HSVhsv(84, 38%, 95%)
CMYKcmyk(15.2%, 0%, 37.9%, 4.7%)
CIE-LABlab(91.44, -26.95, 40.48)
CIE-LCHlch(91.44, 48.63, 123.65°)
OKLaboklab(91.68% -0.0738 0.0996)
OKLCHoklch(91.68% 0.124 126.6)
XYZxyz(63.0895, 79.4568, 41.2851)
Luminance0.7946 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF397 #BC97F3
analogous
#F3EA97 #CEF397 #A0F397
triadic
#CEF397 #97CEF3 #F397CE
tetradic
#CEF397 #97F3EA #BC97F3 #F397A0
square
#CEF397 #97F3EA #BC97F3 #F397A0
split-complementary
#CEF397 #97A0F3 #EA97F3
monochromatic
#9AE629 #B4ED60 #CEF397 #E8F9CE #F2FCE4

Accessibility & contrast

On white

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

On black

16.89
#CEF397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF397
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF397#FFFFFF#000000##000000
##CEF3971.001.2416.8916.89
#FFFFFF1.241.0021.0021.00
#00000016.8921.001.001.00
##00000016.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE890
Deuteranopia (green-blind)
#F7E69C
Tritanopia (blue-blind)
#D3EBDC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #cef397;
/* rgb */ color: rgb(206, 243, 151);
/* oklch */ color: oklch(91.7% 0.124 126.6);
Tailwind
colors: {
  custom: {
    50: '#def7b6',
    500: '#cef397',
    950: '#000000',
  },
}
SCSS
$custom: #cef397;
$custom-light: #def7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cef397",
  "rgb": {
    "r": 206,
    "g": 243,
    "b": 151
  },
  "hsl": {
    "h": 84.13,
    "s": 79.31,
    "l": 77.255
  },
  "oklch": {
    "l": 0.91676,
    "c": 0.12399,
    "h": 126.6
  },
  "luminance": 0.79457
}

Semantic roles & 50–950 ramp

primary
#CEF397
secondary
#8C5DD1
accent
#0ADC5E
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEF397

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

Preview Lab → · Contrast checker → · Palette generator →

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