#CCE74D#CCE74D

#CCE74D 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.11:1 contrast (WCAG AA passes).

Color values

HEX#CCE74D
RGBrgb(204, 231, 77)
HSLhsl(71, 76%, 60%)
HSVhsv(71, 67%, 91%)
CMYKcmyk(11.7%, 0%, 66.7%, 9.4%)
CIE-LABlab(87.25, -28.86, 68.78)
CIE-LCHlch(87.25, 74.59, 112.77°)
OKLaboklab(88.02% -0.0851 0.155)
OKLCHoklch(88.02% 0.177 118.8)
XYZxyz(54.8183, 70.5254, 17.7446)
Luminance0.7053 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE74D #684DE7
analogous
#E7B54D #CCE74D #7FE74D
triadic
#CCE74D #4DCCE7 #E74DCC
tetradic
#CCE74D #4DE7B5 #684DE7 #E74D7F
square
#CCE74D #4DE7B5 #684DE7 #E74D7F
split-complementary
#CCE74D #4D7FE7 #B54DE7
monochromatic
#8BA416 #B8D91D #CCE74D #DBEE83 #EBF6B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCE74D#FFFFFF#000000##000000
##CCE74D1.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)
#F6DB36
Deuteranopia (green-blind)
#F3DB59
Tritanopia (blue-blind)
#D8DBC8
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #cce74d;
/* rgb */ color: rgb(204, 231, 77);
/* oklch */ color: oklch(88.0% 0.177 118.8);
Tailwind
colors: {
  custom: {
    50: '#dfee87',
    500: '#cce74d',
    950: '#000000',
  },
}
SCSS
$custom: #cce74d;
$custom-light: #dfee87;
$custom-dark: #000000;
JSON
{
  "hex": "#cce74d",
  "rgb": {
    "r": 204,
    "g": 231,
    "b": 77
  },
  "hsl": {
    "h": 70.519,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.88022,
    "c": 0.17683,
    "h": 118.8
  },
  "luminance": 0.70525
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCE74D

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

Preview Lab → · Contrast checker → · Palette generator →

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