#CCE057#CCE057

#CCE057 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 86.6% C 0.161 H 116.9°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#CCE057
RGBrgb(204, 224, 87)
HSLhsl(69, 69%, 61%)
HSVhsv(69, 61%, 88%)
CMYKcmyk(8.9%, 0%, 61.2%, 12.2%)
CIE-LABlab(85.42, -24.90, 62.89)
CIE-LCHlch(85.42, 67.64, 111.60°)
OKLaboklab(86.58% -0.0731 0.144)
OKLCHoklch(86.58% 0.161 116.9)
XYZxyz(53.2788, 66.8374, 19.1092)
Luminance0.6684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE057 #6B57E0
analogous
#E0AF57 #CCE057 #87E057
triadic
#CCE057 #57CCE0 #E057CC
tetradic
#CCE057 #57E0AF #6B57E0 #E05787
square
#CCE057 #57E0AF #6B57E0 #E05787
split-complementary
#CCE057 #5787E0 #AF57E0
monochromatic
#8C9F1D #BAD327 #CCE057 #DCEA8B #EBF3BE

Accessibility & contrast

On white

1.46
#CCE057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.37
#CCE057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE057
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE057#FFFFFF#000000##000000
##CCE0571.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED546
Deuteranopia (green-blind)
#ECD660
Tritanopia (blue-blind)
#D8D4C3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cce057;
/* rgb */ color: rgb(204, 224, 87);
/* oklch */ color: oklch(86.6% 0.161 116.9);
Tailwind
colors: {
  custom: {
    50: '#dee98c',
    500: '#cce057',
    950: '#000000',
  },
}
SCSS
$custom: #cce057;
$custom-light: #dee98c;
$custom-dark: #000000;
JSON
{
  "hex": "#cce057",
  "rgb": {
    "r": 204,
    "g": 224,
    "b": 87
  },
  "hsl": {
    "h": 68.759,
    "s": 68.844,
    "l": 60.98
  },
  "oklch": {
    "l": 0.86575,
    "c": 0.16147,
    "h": 116.9
  },
  "luminance": 0.66837
}

Semantic roles & 50–950 ramp

primary
#CCE057
secondary
#4839A2
accent
#15D130
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #CCE057

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

Preview Lab → · Contrast checker → · Palette generator →

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