#CCE15F#CCE15F

#CCE15F is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 86.9% C 0.156 H 117.5°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#CCE15F
RGBrgb(204, 225, 95)
HSLhsl(70, 68%, 63%)
HSVhsv(70, 58%, 88%)
CMYKcmyk(9.3%, 0%, 57.8%, 11.8%)
CIE-LABlab(85.76, -24.79, 59.87)
CIE-LCHlch(85.76, 64.80, 112.49°)
OKLaboklab(86.87% -0.072 0.1385)
OKLCHoklch(86.87% 0.156 117.5)
XYZxyz(53.8935, 67.5145, 21.0167)
Luminance0.6751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE15F #745FE1
analogous
#E1B55F #CCE15F #8BE15F
triadic
#CCE15F #5FCCE1 #E15FCC
tetradic
#CCE15F #5FE1B5 #745FE1 #E15F8B
square
#CCE15F #5FE1B5 #745FE1 #E15F8B
split-complementary
#CCE15F #5F8BE1 #B55FE1
monochromatic
#91A61F #BCD72B #CCE15F #DCEB93 #EDF4C6

Accessibility & contrast

On white

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

On black

14.50
#CCE15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE15F
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE15F#FFFFFF#000000##000000
##CCE15F1.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD651
Deuteranopia (green-blind)
#EDD767
Tritanopia (blue-blind)
#D7D6C5
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cce15f;
/* rgb */ color: rgb(204, 225, 95);
/* oklch */ color: oklch(86.9% 0.156 117.5);
Tailwind
colors: {
  custom: {
    50: '#deea91',
    500: '#cce15f',
    950: '#000000',
  },
}
SCSS
$custom: #cce15f;
$custom-light: #deea91;
$custom-dark: #000000;
JSON
{
  "hex": "#cce15f",
  "rgb": {
    "r": 204,
    "g": 225,
    "b": 95
  },
  "hsl": {
    "h": 69.692,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.86871,
    "c": 0.15613,
    "h": 117.5
  },
  "luminance": 0.67514
}

Semantic roles & 50–950 ramp

primary
#CCE15F
secondary
#4D3BA9
accent
#15D033
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #CCE15F

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

Preview Lab → · Contrast checker → · Palette generator →

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