#CCE792#CCE792

#CCE792 is a very light, moderate yellow-green. Relative luminance 0.721; OKLCH L 88.9% C 0.113 H 123.0°. Best body text is #000000 at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#CCE792
RGBrgb(204, 231, 146)
HSLhsl(79, 64%, 74%)
HSVhsv(79, 37%, 91%)
CMYKcmyk(11.7%, 0%, 36.8%, 9.4%)
CIE-LABlab(88.00, -22.56, 38.49)
CIE-LCHlch(88.00, 44.61, 120.38°)
OKLaboklab(88.86% -0.0617 0.0948)
OKLCHoklch(88.86% 0.113 123)
XYZxyz(58.6658, 72.0644, 38.0077)
Luminance0.7207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE792 #AD92E7
analogous
#E7D892 #CCE792 #A2E792
triadic
#CCE792 #92CCE7 #E792CC
tetradic
#CCE792 #92E7D8 #AD92E7 #E792A2
square
#CCE792 #92E7D8 #AD92E7 #E792A2
split-complementary
#CCE792 #92A2E7 #D892E7
monochromatic
#9DD12E #B5DC60 #CCE792 #E3F2C4 #F3F9E6

Accessibility & contrast

On white

1.36
#CCE792 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.41
#CCE792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE792
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE792#FFFFFF#000000##000000
##CCE7921.001.3615.4115.41
#FFFFFF1.361.0021.0021.00
#00000015.4121.001.001.00
##00000015.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DD8C
Deuteranopia (green-blind)
#EDDD96
Tritanopia (blue-blind)
#D2DFD2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cce792;
/* rgb */ color: rgb(204, 231, 146);
/* oklch */ color: oklch(88.9% 0.113 123.0);
Tailwind
colors: {
  custom: {
    50: '#dceeb3',
    500: '#cce792',
    950: '#000000',
  },
}
SCSS
$custom: #cce792;
$custom-light: #dceeb3;
$custom-dark: #000000;
JSON
{
  "hex": "#cce792",
  "rgb": {
    "r": 204,
    "g": 231,
    "b": 146
  },
  "hsl": {
    "h": 79.059,
    "s": 63.91,
    "l": 73.922
  },
  "oklch": {
    "l": 0.88862,
    "c": 0.11312,
    "h": 123
  },
  "luminance": 0.72065
}

Semantic roles & 50–950 ramp

primary
#CCE792
secondary
#7C5CC1
accent
#1ACC52
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CCE792

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

Preview Lab → · Contrast checker → · Palette generator →

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