#CCE74E#CCE74E

#CCE74E is a very light, vivid yellow-green. Relative luminance 0.705; OKLCH L 88.0% C 0.176 H 118.8°. Best body text is #000000 at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#CCE74E
RGBrgb(204, 231, 78)
HSLhsl(71, 76%, 61%)
HSVhsv(71, 66%, 91%)
CMYKcmyk(11.7%, 0%, 66.2%, 9.4%)
CIE-LABlab(87.26, -28.80, 68.41)
CIE-LCHlch(87.26, 74.22, 112.83°)
OKLaboklab(88.03% -0.0849 0.1544)
OKLCHoklch(88.03% 0.176 118.8)
XYZxyz(54.8539, 70.5396, 17.9320)
Luminance0.7054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE74E #694EE7
analogous
#E7B54E #CCE74E #7FE74E
triadic
#CCE74E #4ECCE7 #E74ECC
tetradic
#CCE74E #4EE7B5 #694EE7 #E74E7F
square
#CCE74E #4EE7B5 #694EE7 #E74E7F
split-complementary
#CCE74E #4E7FE7 #B54EE7
monochromatic
#8BA416 #B9DA1E #CCE74E #DCEE84 #EBF6BA

Accessibility & contrast

On white

1.39
#CCE74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.11
#CCE74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE74E
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE74E#FFFFFF#000000##000000
##CCE74E1.001.3915.1115.11
#FFFFFF1.391.0021.0021.00
#00000015.1121.001.001.00
##00000015.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB38
Deuteranopia (green-blind)
#F3DB59
Tritanopia (blue-blind)
#D8DBC8
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #cce74e;
/* rgb */ color: rgb(204, 231, 78);
/* oklch */ color: oklch(88.0% 0.176 118.8);
Tailwind
colors: {
  custom: {
    50: '#dfee87',
    500: '#cce74e',
    950: '#000000',
  },
}
SCSS
$custom: #cce74e;
$custom-light: #dfee87;
$custom-dark: #000000;
JSON
{
  "hex": "#cce74e",
  "rgb": {
    "r": 204,
    "g": 231,
    "b": 78
  },
  "hsl": {
    "h": 70.588,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.8803,
    "c": 0.17615,
    "h": 118.8
  },
  "luminance": 0.70539
}

Semantic roles & 50–950 ramp

primary
#CCE74E
secondary
#4733A6
accent
#0DD831
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CCE74E

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

Preview Lab → · Contrast checker → · Palette generator →

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