#CCE348#CCE348

#CCE348 is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.1% C 0.176 H 117.5°. Best body text is #000000 at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#CCE348
RGBrgb(204, 227, 72)
HSLhsl(69, 73%, 59%)
HSVhsv(69, 68%, 89%)
CMYKcmyk(10.1%, 0%, 68.3%, 11%)
CIE-LABlab(86.13, -27.27, 69.50)
CIE-LCHlch(86.13, 74.65, 111.42°)
OKLaboklab(87.11% -0.0811 0.1557)
OKLCHoklch(87.11% 0.176 117.5)
XYZxyz(53.5418, 68.2440, 16.4815)
Luminance0.6824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE348 #5F48E3
analogous
#E3AC48 #CCE348 #7EE348
triadic
#CCE348 #48CCE3 #E348CC
tetradic
#CCE348 #48E3AC #5F48E3 #E3487E
square
#CCE348 #48E3AC #5F48E3 #E3487E
split-complementary
#CCE348 #487EE3 #AC48E3
monochromatic
#869917 #B4CE20 #CCE348 #DBEB7D #EAF3B2

Accessibility & contrast

On white

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

On black

14.65
#CCE348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE348
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE348#FFFFFF#000000##000000
##CCE3481.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D72F
Deuteranopia (green-blind)
#F0D854
Tritanopia (blue-blind)
#D8D7C4
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cce348;
/* rgb */ color: rgb(204, 227, 72);
/* oklch */ color: oklch(87.1% 0.176 117.5);
Tailwind
colors: {
  custom: {
    50: '#dfeb84',
    500: '#cce348',
    950: '#000000',
  },
}
SCSS
$custom: #cce348;
$custom-light: #dfeb84;
$custom-dark: #000000;
JSON
{
  "hex": "#cce348",
  "rgb": {
    "r": 204,
    "g": 227,
    "b": 72
  },
  "hsl": {
    "h": 68.903,
    "s": 73.46,
    "l": 58.627
  },
  "oklch": {
    "l": 0.87107,
    "c": 0.17561,
    "h": 117.5
  },
  "luminance": 0.68243
}

Semantic roles & 50–950 ramp

primary
#CCE348
secondary
#42329D
accent
#38F053
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CCE348

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

Preview Lab → · Contrast checker → · Palette generator →

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