#CCE254#CCE254

#CCE254 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.0% C 0.166 H 117.5°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#CCE254
RGBrgb(204, 226, 84)
HSLhsl(69, 71%, 61%)
HSVhsv(69, 63%, 89%)
CMYKcmyk(9.7%, 0%, 62.8%, 11.4%)
CIE-LABlab(85.94, -26.06, 64.68)
CIE-LCHlch(85.94, 69.73, 111.94°)
OKLaboklab(86.98% -0.0766 0.1473)
OKLCHoklch(86.98% 0.166 117.5)
XYZxyz(53.6995, 67.8707, 18.6573)
Luminance0.6787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE254 #6A54E2
analogous
#E2B154 #CCE254 #85E254
triadic
#CCE254 #54CCE2 #E254CC
tetradic
#CCE254 #54E2B1 #6A54E2 #E25485
square
#CCE254 #54E2B1 #6A54E2 #E25485
split-complementary
#CCE254 #5485E2 #B154E2
monochromatic
#8CA01B #B9D524 #CCE254 #DCEB88 #EBF4BD

Accessibility & contrast

On white

1.44
#CCE254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.57
#CCE254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE254
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE254#FFFFFF#000000##000000
##CCE2541.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D642
Deuteranopia (green-blind)
#EED85E
Tritanopia (blue-blind)
#D8D6C5
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cce254;
/* rgb */ color: rgb(204, 226, 84);
/* oklch */ color: oklch(87.0% 0.166 117.5);
Tailwind
colors: {
  custom: {
    50: '#deeb8a',
    500: '#cce254',
    950: '#000000',
  },
}
SCSS
$custom: #cce254;
$custom-light: #deeb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cce254",
  "rgb": {
    "r": 204,
    "g": 226,
    "b": 84
  },
  "hsl": {
    "h": 69.296,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.86984,
    "c": 0.16608,
    "h": 117.5
  },
  "luminance": 0.6787
}

Semantic roles & 50–950 ramp

primary
#CCE254
secondary
#4837A3
accent
#12D330
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CCE254

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

Preview Lab → · Contrast checker → · Palette generator →

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