#CCE056#CCE056

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

Color values

HEX#CCE056
RGBrgb(204, 224, 86)
HSLhsl(69, 69%, 61%)
HSVhsv(69, 62%, 88%)
CMYKcmyk(8.9%, 0%, 61.6%, 12.2%)
CIE-LABlab(85.41, -24.97, 63.29)
CIE-LCHlch(85.41, 68.04, 111.53°)
OKLaboklab(86.57% -0.0734 0.1447)
OKLCHoklch(86.57% 0.162 116.9)
XYZxyz(53.2383, 66.8212, 18.8955)
Luminance0.6682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE056 #6A56E0
analogous
#E0AF56 #CCE056 #87E056
triadic
#CCE056 #56CCE0 #E056CC
tetradic
#CCE056 #56E0AF #6A56E0 #E05687
square
#CCE056 #56E0AF #6A56E0 #E05687
split-complementary
#CCE056 #5687E0 #AF56E0
monochromatic
#8C9F1D #B9D227 #CCE056 #DCE98A #EBF3BD

Accessibility & contrast

On white

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

On black

14.36
#CCE056 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE056
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE056#FFFFFF#000000##000000
##CCE0561.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cce056;
/* rgb */ color: rgb(204, 224, 86);
/* oklch */ color: oklch(86.6% 0.162 116.9);
Tailwind
colors: {
  custom: {
    50: '#dee98b',
    500: '#cce056',
    950: '#000000',
  },
}
SCSS
$custom: #cce056;
$custom-light: #dee98b;
$custom-dark: #000000;
JSON
{
  "hex": "#cce056",
  "rgb": {
    "r": 204,
    "g": 224,
    "b": 86
  },
  "hsl": {
    "h": 68.696,
    "s": 69,
    "l": 60.784
  },
  "oklch": {
    "l": 0.86566,
    "c": 0.16224,
    "h": 116.9
  },
  "luminance": 0.66821
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCE056

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

Preview Lab → · Contrast checker → · Palette generator →

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