#CCED7B#CCED7B

#CCED7B is a very light, vivid yellow-green. Relative luminance 0.748; OKLCH L 89.8% C 0.146 H 122.7°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#CCED7B
RGBrgb(204, 237, 123)
HSLhsl(77, 76%, 71%)
HSVhsv(77, 48%, 93%)
CMYKcmyk(13.9%, 0%, 48.1%, 7.1%)
CIE-LABlab(89.32, -28.00, 51.32)
CIE-LCHlch(89.32, 58.46, 118.62°)
OKLaboklab(89.82% -0.0785 0.1226)
OKLCHoklch(89.82% 0.146 122.7)
XYZxyz(58.7613, 74.8357, 30.0841)
Luminance0.7484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCED7B #9C7BED
analogous
#EDD57B #CCED7B #93ED7B
triadic
#CCED7B #7BCCED #ED7BCC
tetradic
#CCED7B #7BEDD5 #9C7BED #ED7B93
square
#CCED7B #7BEDD5 #9C7BED #ED7B93
split-complementary
#CCED7B #7B93ED #D57BED
monochromatic
#9DD11D #B7E645 #CCED7B #E1F4B1 #F5FBE4

Accessibility & contrast

On white

1.32
#CCED7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.97
#CCED7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCED7B
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCED7B#FFFFFF#000000##000000
##CCED7B1.001.3215.9715.97
#FFFFFF1.321.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E171
Deuteranopia (green-blind)
#F4E081
Tritanopia (blue-blind)
#D4E3D3
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #cced7b;
/* rgb */ color: rgb(204, 237, 123);
/* oklch */ color: oklch(89.8% 0.146 122.7);
Tailwind
colors: {
  custom: {
    50: '#ddf3a3',
    500: '#cced7b',
    950: '#000000',
  },
}
SCSS
$custom: #cced7b;
$custom-light: #ddf3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cced7b",
  "rgb": {
    "r": 204,
    "g": 237,
    "b": 123
  },
  "hsl": {
    "h": 77.368,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.89817,
    "c": 0.14557,
    "h": 122.7
  },
  "luminance": 0.74836
}

Semantic roles & 50–950 ramp

primary
#CCED7B
secondary
#6B46C6
accent
#0DD848
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCED7B

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

Preview Lab → · Contrast checker → · Palette generator →

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