#CCE241#CCE241

#CCE241 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 86.8% C 0.179 H 117.1°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#CCE241
RGBrgb(204, 226, 65)
HSLhsl(68, 74%, 57%)
HSVhsv(68, 71%, 89%)
CMYKcmyk(9.7%, 0%, 71.2%, 11.4%)
CIE-LABlab(85.81, -27.16, 71.66)
CIE-LCHlch(85.81, 76.64, 110.76°)
OKLaboklab(86.84% -0.0815 0.1592)
OKLCHoklch(86.84% 0.179 117.1)
XYZxyz(53.0536, 67.6124, 15.2556)
Luminance0.6761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE241 #5741E2
analogous
#E2A841 #CCE241 #7BE241
triadic
#CCE241 #41CCE2 #E241CC
tetradic
#CCE241 #41E2A8 #5741E2 #E2417B
square
#CCE241 #41E2A8 #5741E2 #E2417B
split-complementary
#CCE241 #417BE2 #A841E2
monochromatic
#819216 #B0C71E #CCE241 #DAEA76 #E9F2AB

Accessibility & contrast

On white

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

On black

14.52
#CCE241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE241
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE241#FFFFFF#000000##000000
##CCE2411.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D623
Deuteranopia (green-blind)
#EFD74E
Tritanopia (blue-blind)
#D9D5C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cce241;
/* rgb */ color: rgb(204, 226, 65);
/* oklch */ color: oklch(86.8% 0.179 117.1);
Tailwind
colors: {
  custom: {
    50: '#dfeb80',
    500: '#cce241',
    950: '#000000',
  },
}
SCSS
$custom: #cce241;
$custom-light: #dfeb80;
$custom-dark: #000000;
JSON
{
  "hex": "#cce241",
  "rgb": {
    "r": 204,
    "g": 226,
    "b": 65
  },
  "hsl": {
    "h": 68.199,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.86839,
    "c": 0.17883,
    "h": 117.1
  },
  "luminance": 0.67612
}

Semantic roles & 50–950 ramp

primary
#CCE241
secondary
#3E3097
accent
#38F051
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CCE241

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

Preview Lab → · Contrast checker → · Palette generator →

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