#CCE157#CCE157

#CCE157 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 86.8% C 0.163 H 117.2°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#CCE157
RGBrgb(204, 225, 87)
HSLhsl(69, 70%, 61%)
HSVhsv(69, 61%, 88%)
CMYKcmyk(9.3%, 0%, 61.3%, 11.8%)
CIE-LABlab(85.69, -25.38, 63.18)
CIE-LCHlch(85.69, 68.09, 111.88°)
OKLaboklab(86.79% -0.0745 0.1446)
OKLCHoklch(86.79% 0.163 117.2)
XYZxyz(53.5484, 67.3765, 19.1990)
Luminance0.6738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE157 #6C57E1
analogous
#E1B157 #CCE157 #87E157
triadic
#CCE157 #57CCE1 #E157CC
tetradic
#CCE157 #57E1B1 #6C57E1 #E15787
square
#CCE157 #57E1B1 #6C57E1 #E15787
split-complementary
#CCE157 #5787E1 #B157E1
monochromatic
#8DA11D #BAD526 #CCE157 #DCEA8B #ECF4BF

Accessibility & contrast

On white

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

On black

14.48
#CCE157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE157
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE157#FFFFFF#000000##000000
##CCE1571.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD646
Deuteranopia (green-blind)
#EDD760
Tritanopia (blue-blind)
#D8D5C4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cce157;
/* rgb */ color: rgb(204, 225, 87);
/* oklch */ color: oklch(86.8% 0.163 117.2);
Tailwind
colors: {
  custom: {
    50: '#deea8c',
    500: '#cce157',
    950: '#000000',
  },
}
SCSS
$custom: #cce157;
$custom-light: #deea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cce157",
  "rgb": {
    "r": 204,
    "g": 225,
    "b": 87
  },
  "hsl": {
    "h": 69.13,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.86793,
    "c": 0.16263,
    "h": 117.2
  },
  "luminance": 0.67376
}

Semantic roles & 50–950 ramp

primary
#CCE157
secondary
#4938A4
accent
#14D231
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #CCE157

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

Preview Lab → · Contrast checker → · Palette generator →

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