#CCE250#CCE250

#CCE250 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.0% C 0.169 H 117.4°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#CCE250
RGBrgb(204, 226, 80)
HSLhsl(69, 72%, 60%)
HSVhsv(69, 65%, 89%)
CMYKcmyk(9.7%, 0%, 64.6%, 11.4%)
CIE-LABlab(85.91, -26.32, 66.24)
CIE-LCHlch(85.91, 71.27, 111.67°)
OKLaboklab(86.95% -0.0778 0.1501)
OKLCHoklch(86.95% 0.169 117.4)
XYZxyz(53.5473, 67.8098, 17.8556)
Luminance0.6781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE250 #6650E2
analogous
#E2AF50 #CCE250 #83E250
triadic
#CCE250 #50CCE2 #E250CC
tetradic
#CCE250 #50E2AF #6650E2 #E25083
square
#CCE250 #50E2AF #6650E2 #E25083
split-complementary
#CCE250 #5083E2 #AF50E2
monochromatic
#8A9E1A #B8D223 #CCE250 #DBEB84 #EBF3B9

Accessibility & contrast

On white

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

On black

14.56
#CCE250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE250
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE250#FFFFFF#000000##000000
##CCE2501.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D63C
Deuteranopia (green-blind)
#EED85A
Tritanopia (blue-blind)
#D8D6C4
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cce250;
/* rgb */ color: rgb(204, 226, 80);
/* oklch */ color: oklch(87.0% 0.169 117.4);
Tailwind
colors: {
  custom: {
    50: '#dfeb88',
    500: '#cce250',
    950: '#000000',
  },
}
SCSS
$custom: #cce250;
$custom-light: #dfeb88;
$custom-dark: #000000;
JSON
{
  "hex": "#cce250",
  "rgb": {
    "r": 204,
    "g": 226,
    "b": 80
  },
  "hsl": {
    "h": 69.041,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.8695,
    "c": 0.16902,
    "h": 117.4
  },
  "luminance": 0.67809
}

Semantic roles & 50–950 ramp

primary
#CCE250
secondary
#4635A1
accent
#39EE55
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CCE250

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

Preview Lab → · Contrast checker → · Palette generator →

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