#CCE154#CCE154

#CCE154 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 86.8% C 0.165 H 117.2°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#CCE154
RGBrgb(204, 225, 84)
HSLhsl(69, 70%, 61%)
HSVhsv(69, 63%, 88%)
CMYKcmyk(9.3%, 0%, 62.7%, 11.8%)
CIE-LABlab(85.67, -25.58, 64.39)
CIE-LCHlch(85.67, 69.28, 111.67°)
OKLaboklab(86.77% -0.0753 0.1467)
OKLCHoklch(86.77% 0.165 117.2)
XYZxyz(53.4283, 67.3285, 18.5669)
Luminance0.6733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE154 #6954E1
analogous
#E1AF54 #CCE154 #85E154
triadic
#CCE154 #54CCE1 #E154CC
tetradic
#CCE154 #54E1AF #6954E1 #E15485
square
#CCE154 #54E1AF #6954E1 #E15485
split-complementary
#CCE154 #5485E1 #AF54E1
monochromatic
#8B9F1C #B9D325 #CCE154 #DCEA88 #EBF3BC

Accessibility & contrast

On white

1.45
#CCE154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.47
#CCE154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE154
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE154#FFFFFF#000000##000000
##CCE1541.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD642
Deuteranopia (green-blind)
#EDD75E
Tritanopia (blue-blind)
#D8D5C4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cce154;
/* rgb */ color: rgb(204, 225, 84);
/* oklch */ color: oklch(86.8% 0.165 117.2);
Tailwind
colors: {
  custom: {
    50: '#deea8a',
    500: '#cce154',
    950: '#000000',
  },
}
SCSS
$custom: #cce154;
$custom-light: #deea8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cce154",
  "rgb": {
    "r": 204,
    "g": 225,
    "b": 84
  },
  "hsl": {
    "h": 68.936,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.86766,
    "c": 0.16492,
    "h": 117.2
  },
  "luminance": 0.67328
}

Semantic roles & 50–950 ramp

primary
#CCE154
secondary
#4737A2
accent
#13D230
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CCE154

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

Preview Lab → · Contrast checker → · Palette generator →

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