#CEF097#CEF097

#CEF097 is a very light, moderate yellow-green. Relative luminance 0.777; OKLCH L 91.0% C 0.120 H 125.7°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#CEF097
RGBrgb(206, 240, 151)
HSLhsl(83, 75%, 77%)
HSVhsv(83, 37%, 94%)
CMYKcmyk(14.2%, 0%, 37.1%, 5.9%)
CIE-LABlab(90.63, -25.52, 39.44)
CIE-LCHlch(90.63, 46.98, 122.91°)
OKLaboklab(91.03% -0.0699 0.0972)
OKLCHoklch(91.03% 0.12 125.7)
XYZxyz(62.1991, 77.6759, 40.9883)
Luminance0.7768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF097 #B997F0
analogous
#F0E597 #CEF097 #A2F097
triadic
#CEF097 #97CEF0 #F097CE
tetradic
#CEF097 #97F0E5 #B997F0 #F097A2
square
#CEF097 #97F0E5 #B997F0 #F097A2
split-complementary
#CEF097 #97A2F0 #E597F0
monochromatic
#9CE12C #B5E862 #CEF097 #E7F8CC #F2FBE4

Accessibility & contrast

On white

1.27
#CEF097 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.54
#CEF097 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF097
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF097#FFFFFF#000000##000000
##CEF0971.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E591
Deuteranopia (green-blind)
#F4E49B
Tritanopia (blue-blind)
#D3E8DA
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cef097;
/* rgb */ color: rgb(206, 240, 151);
/* oklch */ color: oklch(91.0% 0.120 125.7);
Tailwind
colors: {
  custom: {
    50: '#def5b6',
    500: '#cef097',
    950: '#000000',
  },
}
SCSS
$custom: #cef097;
$custom-light: #def5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cef097",
  "rgb": {
    "r": 206,
    "g": 240,
    "b": 151
  },
  "hsl": {
    "h": 82.921,
    "s": 74.79,
    "l": 76.667
  },
  "oklch": {
    "l": 0.91028,
    "c": 0.11968,
    "h": 125.7
  },
  "luminance": 0.77676
}

Semantic roles & 50–950 ramp

primary
#CEF097
secondary
#895ECD
accent
#0FD75B
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEF097

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

Preview Lab → · Contrast checker → · Palette generator →

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