#CCE150#CCE150

#CCE150 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 86.7% C 0.168 H 117.1°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#CCE150
RGBrgb(204, 225, 80)
HSLhsl(69, 71%, 60%)
HSVhsv(69, 64%, 88%)
CMYKcmyk(9.3%, 0%, 64.4%, 11.8%)
CIE-LABlab(85.64, -25.84, 65.95)
CIE-LCHlch(85.64, 70.83, 111.40°)
OKLaboklab(86.73% -0.0764 0.1495)
OKLCHoklch(86.73% 0.168 117.1)
XYZxyz(53.2761, 67.2676, 17.7652)
Luminance0.6727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE150 #6550E1
analogous
#E1AE50 #CCE150 #83E150
triadic
#CCE150 #50CCE1 #E150CC
tetradic
#CCE150 #50E1AE #6550E1 #E15083
square
#CCE150 #50E1AE #6550E1 #E15083
split-complementary
#CCE150 #5083E1 #AE50E1
monochromatic
#899C1B #B7D024 #CCE150 #DBEA84 #EAF3B8

Accessibility & contrast

On white

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

On black

14.45
#CCE150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE150
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE150#FFFFFF#000000##000000
##CCE1501.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63C
Deuteranopia (green-blind)
#EED75A
Tritanopia (blue-blind)
#D8D5C3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cce150;
/* rgb */ color: rgb(204, 225, 80);
/* oklch */ color: oklch(86.7% 0.168 117.1);
Tailwind
colors: {
  custom: {
    50: '#dfea88',
    500: '#cce150',
    950: '#000000',
  },
}
SCSS
$custom: #cce150;
$custom-light: #dfea88;
$custom-dark: #000000;
JSON
{
  "hex": "#cce150",
  "rgb": {
    "r": 204,
    "g": 225,
    "b": 80
  },
  "hsl": {
    "h": 68.69,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.86731,
    "c": 0.16788,
    "h": 117.1
  },
  "luminance": 0.67267
}

Semantic roles & 50–950 ramp

primary
#CCE150
secondary
#45369F
accent
#3AED54
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CCE150

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

Preview Lab → · Contrast checker → · Palette generator →

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