#CCE34A#CCE34A

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

Color values

HEX#CCE34A
RGBrgb(204, 227, 74)
HSLhsl(69, 73%, 59%)
HSVhsv(69, 67%, 89%)
CMYKcmyk(10.1%, 0%, 67.4%, 11%)
CIE-LABlab(86.14, -27.15, 68.77)
CIE-LCHlch(86.14, 73.94, 111.55°)
OKLaboklab(87.12% -0.0806 0.1545)
OKLCHoklch(87.12% 0.174 117.6)
XYZxyz(53.6081, 68.2705, 16.8307)
Luminance0.6827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE34A #614AE3
analogous
#E3AE4A #CCE34A #80E34A
triadic
#CCE34A #4ACCE3 #E34ACC
tetradic
#CCE34A #4AE3AE #614AE3 #E34A80
square
#CCE34A #4AE3AE #614AE3 #E34A80
split-complementary
#CCE34A #4A80E3 #AE4AE3
monochromatic
#879B18 #B5D020 #CCE34A #DBEB7F #EAF3B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCE34A#FFFFFF#000000##000000
##CCE34A1.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)
#F2D733
Deuteranopia (green-blind)
#F0D856
Tritanopia (blue-blind)
#D8D7C4
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cce34a;
/* rgb */ color: rgb(204, 227, 74);
/* oklch */ color: oklch(87.1% 0.174 117.6);
Tailwind
colors: {
  custom: {
    50: '#dfeb85',
    500: '#cce34a',
    950: '#000000',
  },
}
SCSS
$custom: #cce34a;
$custom-light: #dfeb85;
$custom-dark: #000000;
JSON
{
  "hex": "#cce34a",
  "rgb": {
    "r": 204,
    "g": 227,
    "b": 74
  },
  "hsl": {
    "h": 69.02,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.87121,
    "c": 0.1743,
    "h": 117.6
  },
  "luminance": 0.6827
}

Semantic roles & 50–950 ramp

primary
#CCE34A
secondary
#43339E
accent
#38F054
background
#FEFEFC
surface
#FCFDF3
border
#D5D5CD
text
#16160C
muted
#84847F

Preview Lab

Preview with #CCE34A

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

Preview Lab → · Contrast checker → · Palette generator →

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