#CCE74C#CCE74C

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

Color values

HEX#CCE74C
RGBrgb(204, 231, 76)
HSLhsl(70, 76%, 60%)
HSVhsv(70, 67%, 91%)
CMYKcmyk(11.7%, 0%, 67.1%, 9.4%)
CIE-LABlab(87.25, -28.92, 69.15)
CIE-LCHlch(87.25, 74.95, 112.70°)
OKLaboklab(88.02% -0.0854 0.1556)
OKLCHoklch(88.02% 0.178 118.8)
XYZxyz(54.7833, 70.5114, 17.5601)
Luminance0.7051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE74C #674CE7
analogous
#E7B54C #CCE74C #7EE74C
triadic
#CCE74C #4CCCE7 #E74CCC
tetradic
#CCE74C #4CE7B5 #674CE7 #E74C7E
square
#CCE74C #4CE7B5 #674CE7 #E74C7E
split-complementary
#CCE74C #4C7EE7 #B54CE7
monochromatic
#8AA316 #B8D91D #CCE74C #DBEE82 #EBF5B8

Accessibility & contrast

On white

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

On black

15.10
#CCE74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE74C
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE74C#FFFFFF#000000##000000
##CCE74C1.001.3915.1015.10
#FFFFFF1.391.0021.0021.00
#00000015.1021.001.001.00
##00000015.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cce74c;
/* rgb */ color: rgb(204, 231, 76);
/* oklch */ color: oklch(88.0% 0.177 118.8);
Tailwind
colors: {
  custom: {
    50: '#dfee86',
    500: '#cce74c',
    950: '#000000',
  },
}
SCSS
$custom: #cce74c;
$custom-light: #dfee86;
$custom-dark: #000000;
JSON
{
  "hex": "#cce74c",
  "rgb": {
    "r": 204,
    "g": 231,
    "b": 76
  },
  "hsl": {
    "h": 70.452,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.88015,
    "c": 0.1775,
    "h": 118.8
  },
  "luminance": 0.70511
}

Semantic roles & 50–950 ramp

primary
#CCE74C
secondary
#4632A5
accent
#0DD930
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CCE74C

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

Preview Lab → · Contrast checker → · Palette generator →

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