#CCE34E#CCE34E

#CCE34E is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.2% C 0.172 H 117.6°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#CCE34E
RGBrgb(204, 227, 78)
HSLhsl(69, 73%, 60%)
HSVhsv(69, 66%, 89%)
CMYKcmyk(10.1%, 0%, 65.6%, 11%)
CIE-LABlab(86.17, -26.92, 67.28)
CIE-LCHlch(86.17, 72.47, 111.80°)
OKLaboklab(87.15% -0.0796 0.152)
OKLCHoklch(87.15% 0.172 117.6)
XYZxyz(53.7472, 68.3261, 17.5631)
Luminance0.6833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE34E #654EE3
analogous
#E3B04E #CCE34E #81E34E
triadic
#CCE34E #4ECCE3 #E34ECC
tetradic
#CCE34E #4EE3B0 #654EE3 #E34E81
square
#CCE34E #4EE3B0 #654EE3 #E34E81
split-complementary
#CCE34E #4E81E3 #B04EE3
monochromatic
#899E19 #B7D321 #CCE34E #DBEB83 #EAF4B8

Accessibility & contrast

On white

1.43
#CCE34E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.67
#CCE34E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE34E
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE34E#FFFFFF#000000##000000
##CCE34E1.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D739
Deuteranopia (green-blind)
#EFD859
Tritanopia (blue-blind)
#D8D7C5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #cce34e;
/* rgb */ color: rgb(204, 227, 78);
/* oklch */ color: oklch(87.2% 0.172 117.6);
Tailwind
colors: {
  custom: {
    50: '#dfeb87',
    500: '#cce34e',
    950: '#000000',
  },
}
SCSS
$custom: #cce34e;
$custom-light: #dfeb87;
$custom-dark: #000000;
JSON
{
  "hex": "#cce34e",
  "rgb": {
    "r": 204,
    "g": 227,
    "b": 78
  },
  "hsl": {
    "h": 69.262,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.87153,
    "c": 0.17158,
    "h": 117.6
  },
  "luminance": 0.68326
}

Semantic roles & 50–950 ramp

primary
#CCE34E
secondary
#4534A1
accent
#38EF55
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CCE34E

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

Preview Lab → · Contrast checker → · Palette generator →

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