#CEF795#CEF795

#CEF795 is a very light, vivid yellow-green. Relative luminance 0.818; OKLCH L 92.5% C 0.132 H 127.3°. Best body text is #000000 at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#CEF795
RGBrgb(206, 247, 149)
HSLhsl(85, 86%, 78%)
HSVhsv(85, 40%, 97%)
CMYKcmyk(16.6%, 0%, 39.7%, 3.1%)
CIE-LABlab(92.49, -29.08, 42.82)
CIE-LCHlch(92.49, 51.76, 124.18°)
OKLaboklab(92.51% -0.0799 0.1049)
OKLCHoklch(92.51% 0.132 127.3)
XYZxyz(64.1386, 81.8126, 40.8403)
Luminance0.8181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF795 #BE95F7
analogous
#F7EF95 #CEF795 #9DF795
triadic
#CEF795 #95CEF7 #F795CE
tetradic
#CEF795 #95F7EF #BE95F7 #F7959D
square
#CEF795 #95F7EF #BE95F7 #F7959D
split-complementary
#CEF795 #959DF7 #EF95F7
monochromatic
#99EE23 #B4F35C #CEF795 #E8FBCE #F2FDE3

Accessibility & contrast

On white

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

On black

17.36
#CEF795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF795
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF795#FFFFFF#000000##000000
##CEF7951.001.2117.3617.36
#FFFFFF1.211.0021.0021.00
#00000017.3621.001.001.00
##00000017.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cef795;
/* rgb */ color: rgb(206, 247, 149);
/* oklch */ color: oklch(92.5% 0.132 127.3);
Tailwind
colors: {
  custom: {
    50: '#defab5',
    500: '#cef795',
    950: '#000000',
  },
}
SCSS
$custom: #cef795;
$custom-light: #defab5;
$custom-dark: #000000;
JSON
{
  "hex": "#cef795",
  "rgb": {
    "r": 206,
    "g": 247,
    "b": 149
  },
  "hsl": {
    "h": 85.102,
    "s": 85.965,
    "l": 77.647
  },
  "oklch": {
    "l": 0.9251,
    "c": 0.13187,
    "h": 127.3
  },
  "luminance": 0.81813
}

Semantic roles & 50–950 ramp

primary
#CEF795
secondary
#8E5AD6
accent
#03E261
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEF795

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

Preview Lab → · Contrast checker → · Palette generator →

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