#CEF792#CEF792

#CEF792 is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.5% C 0.135 H 126.9°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#CEF792
RGBrgb(206, 247, 146)
HSLhsl(84, 86%, 77%)
HSVhsv(84, 41%, 97%)
CMYKcmyk(16.6%, 0%, 40.9%, 3.1%)
CIE-LABlab(92.45, -29.44, 44.23)
CIE-LCHlch(92.45, 53.13, 123.65°)
OKLaboklab(92.46% -0.0811 0.108)
OKLCHoklch(92.46% 0.135 126.9)
XYZxyz(63.9021, 81.7180, 39.5951)
Luminance0.8172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEF792 #BB92F7
analogous
#F7ED92 #CEF792 #9CF792
triadic
#CEF792 #92CEF7 #F792CE
tetradic
#CEF792 #92F7ED #BB92F7 #F7929C
square
#CEF792 #92F7ED #BB92F7 #F7929C
split-complementary
#CEF792 #929CF7 #ED92F7
monochromatic
#9BEF20 #B4F359 #CEF792 #E8FBCB #F2FDE2

Accessibility & contrast

On white

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

On black

17.34
#CEF792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEF792
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEF792#FFFFFF#000000##000000
##CEF7921.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB8A
Deuteranopia (green-blind)
#FBE997
Tritanopia (blue-blind)
#D3EFDE
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cef792;
/* rgb */ color: rgb(206, 247, 146);
/* oklch */ color: oklch(92.5% 0.135 126.9);
Tailwind
colors: {
  custom: {
    50: '#defab3',
    500: '#cef792',
    950: '#000000',
  },
}
SCSS
$custom: #cef792;
$custom-light: #defab3;
$custom-dark: #000000;
JSON
{
  "hex": "#cef792",
  "rgb": {
    "r": 206,
    "g": 247,
    "b": 146
  },
  "hsl": {
    "h": 84.356,
    "s": 86.325,
    "l": 77.059
  },
  "oklch": {
    "l": 0.92463,
    "c": 0.13504,
    "h": 126.9
  },
  "luminance": 0.81719
}

Semantic roles & 50–950 ramp

primary
#CEF792
secondary
#8B58D6
accent
#03E35E
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEF792

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

Preview Lab → · Contrast checker → · Palette generator →

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