#CCF792#CCF792

#CCF792 is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 92.3% C 0.136 H 127.7°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#CCF792
RGBrgb(204, 247, 146)
HSLhsl(86, 86%, 77%)
HSVhsv(86, 41%, 97%)
CMYKcmyk(17.4%, 0%, 40.9%, 3.1%)
CIE-LABlab(92.32, -30.16, 44.04)
CIE-LCHlch(92.32, 53.38, 124.40°)
OKLaboklab(92.33% -0.083 0.1076)
OKLCHoklch(92.33% 0.136 127.7)
XYZxyz(63.3503, 81.4335, 39.5692)
Luminance0.8143 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF792 #BD92F7
analogous
#F7F092 #CCF792 #99F792
triadic
#CCF792 #92CCF7 #F792CC
tetradic
#CCF792 #92F7F0 #BD92F7 #F79299
square
#CCF792 #92F7F0 #BD92F7 #F79299
split-complementary
#CCF792 #9299F7 #F092F7
monochromatic
#97EF20 #B1F359 #CCF792 #E7FBCB #F2FDE2

Accessibility & contrast

On white

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

On black

17.29
#CCF792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF792
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF792#FFFFFF#000000##000000
##CCF7921.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccf792;
/* rgb */ color: rgb(204, 247, 146);
/* oklch */ color: oklch(92.3% 0.136 127.7);
Tailwind
colors: {
  custom: {
    50: '#ddfab3',
    500: '#ccf792',
    950: '#000000',
  },
}
SCSS
$custom: #ccf792;
$custom-light: #ddfab3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf792",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 146
  },
  "hsl": {
    "h": 85.545,
    "s": 86.325,
    "l": 77.059
  },
  "oklch": {
    "l": 0.9233,
    "c": 0.13589,
    "h": 127.7
  },
  "luminance": 0.81434
}

Semantic roles & 50–950 ramp

primary
#CCF792
secondary
#8D58D6
accent
#03E362
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCF792

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

Preview Lab → · Contrast checker → · Palette generator →

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