#CCE273#CCE273

#CCE273 is a very light, vivid yellow-green. Relative luminance 0.685; OKLCH L 87.3% C 0.139 H 118.6°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#CCE273
RGBrgb(204, 226, 115)
HSLhsl(72, 66%, 67%)
HSVhsv(72, 49%, 89%)
CMYKcmyk(9.7%, 0%, 49.1%, 11.4%)
CIE-LABlab(86.24, -23.55, 51.37)
CIE-LCHlch(86.24, 56.51, 114.63°)
OKLaboklab(87.32% -0.0666 0.1221)
OKLCHoklch(87.32% 0.139 118.6)
XYZxyz(55.1932, 68.4682, 26.5244)
Luminance0.6847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE273 #8973E2
analogous
#E2C173 #CCE273 #95E273
triadic
#CCE273 #73CCE2 #E273CC
tetradic
#CCE273 #73E2C1 #8973E2 #E27395
square
#CCE273 #73E2C1 #8973E2 #E27395
split-complementary
#CCE273 #7395E2 #C173E2
monochromatic
#99B526 #BAD740 #CCE273 #DEEDA6 #F1F7D8

Accessibility & contrast

On white

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

On black

14.69
#CCE273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE273
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE273#FFFFFF#000000##000000
##CCE2731.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED869
Deuteranopia (green-blind)
#ECD879
Tritanopia (blue-blind)
#D6D8C8
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #cce273;
/* rgb */ color: rgb(204, 226, 115);
/* oklch */ color: oklch(87.3% 0.139 118.6);
Tailwind
colors: {
  custom: {
    50: '#ddeb9e',
    500: '#cce273',
    950: '#000000',
  },
}
SCSS
$custom: #cce273;
$custom-light: #ddeb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cce273",
  "rgb": {
    "r": 204,
    "g": 226,
    "b": 115
  },
  "hsl": {
    "h": 71.892,
    "s": 65.68,
    "l": 66.863
  },
  "oklch": {
    "l": 0.8732,
    "c": 0.13909,
    "h": 118.6
  },
  "luminance": 0.68468
}

Semantic roles & 50–950 ramp

primary
#CCE273
secondary
#5A43B6
accent
#18CE3C
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #CCE273

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

Preview Lab → · Contrast checker → · Palette generator →

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