#CCE54D#CCE54D

#CCE54D is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 87.6% C 0.175 H 118.2°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#CCE54D
RGBrgb(204, 229, 77)
HSLhsl(70, 75%, 60%)
HSVhsv(70, 66%, 90%)
CMYKcmyk(10.9%, 0%, 66.4%, 10.2%)
CIE-LABlab(86.71, -27.92, 68.22)
CIE-LCHlch(86.71, 73.71, 112.26°)
OKLaboklab(87.58% -0.0825 0.1538)
OKLCHoklch(87.58% 0.175 118.2)
XYZxyz(54.2618, 69.4123, 17.5591)
Luminance0.6941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE54D #664DE5
analogous
#E5B24D #CCE54D #80E54D
triadic
#CCE54D #4DCCE5 #E54DCC
tetradic
#CCE54D #4DE5B2 #664DE5 #E54D80
square
#CCE54D #4DE5B2 #664DE5 #E54D80
split-complementary
#CCE54D #4D80E5 #B24DE5
monochromatic
#8AA017 #B8D61F #CCE54D #DBED82 #EBF5B8

Accessibility & contrast

On white

1.41
#CCE54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.88
#CCE54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE54D
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE54D#FFFFFF#000000##000000
##CCE54D1.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D937
Deuteranopia (green-blind)
#F1DA58
Tritanopia (blue-blind)
#D8D9C6
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #cce54d;
/* rgb */ color: rgb(204, 229, 77);
/* oklch */ color: oklch(87.6% 0.175 118.2);
Tailwind
colors: {
  custom: {
    50: '#dfed87',
    500: '#cce54d',
    950: '#000000',
  },
}
SCSS
$custom: #cce54d;
$custom-light: #dfed87;
$custom-dark: #000000;
JSON
{
  "hex": "#cce54d",
  "rgb": {
    "r": 204,
    "g": 229,
    "b": 77
  },
  "hsl": {
    "h": 69.868,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.87583,
    "c": 0.17454,
    "h": 118.2
  },
  "luminance": 0.69412
}

Semantic roles & 50–950 ramp

primary
#CCE54D
secondary
#4633A3
accent
#37F155
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CCE54D

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

Preview Lab → · Contrast checker → · Palette generator →

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