#CCE546#CCE546

#CCE546 is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 87.5% C 0.179 H 118.1°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#CCE546
RGBrgb(204, 229, 70)
HSLhsl(69, 75%, 59%)
HSVhsv(69, 69%, 90%)
CMYKcmyk(10.9%, 0%, 69.4%, 10.2%)
CIE-LABlab(86.66, -28.32, 70.75)
CIE-LCHlch(86.66, 76.21, 111.82°)
OKLaboklab(87.53% -0.0842 0.1581)
OKLCHoklch(87.53% 0.179 118.1)
XYZxyz(54.0278, 69.3187, 16.3268)
Luminance0.6932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE546 #5F46E5
analogous
#E5AE46 #CCE546 #7CE546
triadic
#CCE546 #46CCE5 #E546CC
tetradic
#CCE546 #46E5AE #5F46E5 #E5467C
square
#CCE546 #46E5AE #5F46E5 #E5467C
split-complementary
#CCE546 #467CE5 #AE46E5
monochromatic
#869B16 #B4D01D #CCE546 #DBED7C #EAF4B1

Accessibility & contrast

On white

1.41
#CCE546 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.86
#CCE546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE546
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE546#FFFFFF#000000##000000
##CCE5461.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D92B
Deuteranopia (green-blind)
#F1DA53
Tritanopia (blue-blind)
#D8D9C6
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #cce546;
/* rgb */ color: rgb(204, 229, 70);
/* oklch */ color: oklch(87.5% 0.179 118.1);
Tailwind
colors: {
  custom: {
    50: '#dfed83',
    500: '#cce546',
    950: '#000000',
  },
}
SCSS
$custom: #cce546;
$custom-light: #dfed83;
$custom-dark: #000000;
JSON
{
  "hex": "#cce546",
  "rgb": {
    "r": 204,
    "g": 229,
    "b": 70
  },
  "hsl": {
    "h": 69.434,
    "s": 75.355,
    "l": 58.627
  },
  "oklch": {
    "l": 0.87531,
    "c": 0.17912,
    "h": 118.1
  },
  "luminance": 0.69318
}

Semantic roles & 50–950 ramp

primary
#CCE546
secondary
#42319E
accent
#36F253
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CCE546

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

Preview Lab → · Contrast checker → · Palette generator →

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