#CCE351#CCE351

#CCE351 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 87.2% C 0.169 H 117.7°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#CCE351
RGBrgb(204, 227, 81)
HSLhsl(69, 72%, 60%)
HSVhsv(69, 64%, 89%)
CMYKcmyk(10.1%, 0%, 64.3%, 11%)
CIE-LABlab(86.19, -26.73, 66.14)
CIE-LCHlch(86.19, 71.33, 112.01°)
OKLaboklab(87.18% -0.0788 0.15)
OKLCHoklch(87.18% 0.169 117.7)
XYZxyz(53.8572, 68.3701, 18.1425)
Luminance0.6837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE351 #6851E3
analogous
#E3B151 #CCE351 #83E351
triadic
#CCE351 #51CCE3 #E351CC
tetradic
#CCE351 #51E3B1 #6851E3 #E35183
square
#CCE351 #51E3B1 #6851E3 #E35183
split-complementary
#CCE351 #5183E3 #B151E3
monochromatic
#8BA01A #B8D522 #CCE351 #DBEB86 #EBF4BA

Accessibility & contrast

On white

1.43
#CCE351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.67
#CCE351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE351
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE351#FFFFFF#000000##000000
##CCE3511.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D73D
Deuteranopia (green-blind)
#EFD85B
Tritanopia (blue-blind)
#D8D7C5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #cce351;
/* rgb */ color: rgb(204, 227, 81);
/* oklch */ color: oklch(87.2% 0.169 117.7);
Tailwind
colors: {
  custom: {
    50: '#dfeb89',
    500: '#cce351',
    950: '#000000',
  },
}
SCSS
$custom: #cce351;
$custom-light: #dfeb89;
$custom-dark: #000000;
JSON
{
  "hex": "#cce351",
  "rgb": {
    "r": 204,
    "g": 227,
    "b": 81
  },
  "hsl": {
    "h": 69.452,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.87177,
    "c": 0.16944,
    "h": 117.7
  },
  "luminance": 0.6837
}

Semantic roles & 50–950 ramp

primary
#CCE351
secondary
#4735A3
accent
#11D430
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CCE351

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

Preview Lab → · Contrast checker → · Palette generator →

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