#CCE397#CCE397

#CCE397 is a very light, moderate yellow-green. Relative luminance 0.700; OKLCH L 88.1% C 0.102 H 122.2°. Best body text is #000000 at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#CCE397
RGBrgb(204, 227, 151)
HSLhsl(78, 58%, 74%)
HSVhsv(78, 33%, 89%)
CMYKcmyk(10.1%, 0%, 33.5%, 11%)
CIE-LABlab(87.00, -19.98, 34.67)
CIE-LCHlch(87.00, 40.02, 119.96°)
OKLaboklab(88.09% -0.0542 0.0861)
OKLCHoklch(88.09% 0.102 122.2)
XYZxyz(57.9565, 70.0099, 39.7321)
Luminance0.7001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE397 #AE97E3
analogous
#E3D497 #CCE397 #A6E397
triadic
#CCE397 #97CCE3 #E397CC
tetradic
#CCE397 #97E3D4 #AE97E3 #E397A6
square
#CCE397 #97E3D4 #AE97E3 #E397A6
split-complementary
#CCE397 #97A6E3 #D497E3
monochromatic
#9DC937 #B4D667 #CCE397 #E4F0C7 #F3F9E7

Accessibility & contrast

On white

1.40
#CCE397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.00
#CCE397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE397
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE397#FFFFFF#000000##000000
##CCE3971.001.4015.0015.00
#FFFFFF1.401.0021.0021.00
#00000015.0021.001.001.00
##00000015.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDA92
Deuteranopia (green-blind)
#E9DA9B
Tritanopia (blue-blind)
#D2DCD0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #cce397;
/* rgb */ color: rgb(204, 227, 151);
/* oklch */ color: oklch(88.1% 0.102 122.2);
Tailwind
colors: {
  custom: {
    50: '#dcebb6',
    500: '#cce397',
    950: '#000000',
  },
}
SCSS
$custom: #cce397;
$custom-light: #dcebb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cce397",
  "rgb": {
    "r": 204,
    "g": 227,
    "b": 151
  },
  "hsl": {
    "h": 78.158,
    "s": 57.576,
    "l": 74.118
  },
  "oklch": {
    "l": 0.88089,
    "c": 0.10173,
    "h": 122.2
  },
  "luminance": 0.7001
}

Semantic roles & 50–950 ramp

primary
#CCE397
secondary
#7D62BC
accent
#20C552
background
#FEFEFD
surface
#FCFDF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #CCE397

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

Preview Lab → · Contrast checker → · Palette generator →

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