#CCE548#CCE548

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

Color values

HEX#CCE548
RGBrgb(204, 229, 72)
HSLhsl(70, 75%, 59%)
HSVhsv(70, 69%, 90%)
CMYKcmyk(10.9%, 0%, 68.6%, 10.2%)
CIE-LABlab(86.67, -28.21, 70.04)
CIE-LCHlch(86.67, 75.51, 111.94°)
OKLaboklab(87.55% -0.0838 0.1569)
OKLCHoklch(87.55% 0.178 118.1)
XYZxyz(54.0920, 69.3444, 16.6649)
Luminance0.6934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE548 #6148E5
analogous
#E5B048 #CCE548 #7EE548
triadic
#CCE548 #48CCE5 #E548CC
tetradic
#CCE548 #48E5B0 #6148E5 #E5487E
square
#CCE548 #48E5B0 #6148E5 #E5487E
split-complementary
#CCE548 #487EE5 #B048E5
monochromatic
#879C16 #B5D21E #CCE548 #DBED7E #EAF4B3

Accessibility & contrast

On white

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

On black

14.87
#CCE548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE548
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE548#FFFFFF#000000##000000
##CCE5481.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cce548;
/* rgb */ color: rgb(204, 229, 72);
/* oklch */ color: oklch(87.5% 0.178 118.1);
Tailwind
colors: {
  custom: {
    50: '#dfed84',
    500: '#cce548',
    950: '#000000',
  },
}
SCSS
$custom: #cce548;
$custom-light: #dfed84;
$custom-dark: #000000;
JSON
{
  "hex": "#cce548",
  "rgb": {
    "r": 204,
    "g": 229,
    "b": 72
  },
  "hsl": {
    "h": 69.554,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.87545,
    "c": 0.17785,
    "h": 118.1
  },
  "luminance": 0.69344
}

Semantic roles & 50–950 ramp

primary
#CCE548
secondary
#4332A0
accent
#36F254
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CCE548

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

Preview Lab → · Contrast checker → · Palette generator →

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