#CCF989#CCF989

#CCF989 is a very light, vivid yellow-green. Relative luminance 0.824; OKLCH L 92.6% C 0.148 H 127.0°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#CCF989
RGBrgb(204, 249, 137)
HSLhsl(84, 90%, 76%)
HSVhsv(84, 45%, 98%)
CMYKcmyk(18.1%, 0%, 45%, 2.4%)
CIE-LABlab(92.75, -32.12, 48.91)
CIE-LCHlch(92.75, 58.51, 123.30°)
OKLaboklab(92.63% -0.0891 0.1181)
OKLCHoklch(92.63% 0.148 127)
XYZxyz(63.2925, 82.3941, 36.2312)
Luminance0.8239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF989 #B689F9
analogous
#F9EE89 #CCF989 #94F989
triadic
#CCF989 #89CCF9 #F989CC
tetradic
#CCF989 #89F9EE #B689F9 #F98994
square
#CCF989 #89F9EE #B689F9 #F98994
split-complementary
#CCF989 #8994F9 #EE89F9
monochromatic
#9AF315 #B3F64F #CCF989 #E5FCC3 #F2FEE2

Accessibility & contrast

On white

1.20
#CCF989 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.48
#CCF989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF989
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF989#FFFFFF#000000##000000
##CCF9891.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC80
Deuteranopia (green-blind)
#FDE98F
Tritanopia (blue-blind)
#D1F0DE
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ccf989;
/* rgb */ color: rgb(204, 249, 137);
/* oklch */ color: oklch(92.6% 0.148 127.0);
Tailwind
colors: {
  custom: {
    50: '#ddfbad',
    500: '#ccf989',
    950: '#000000',
  },
}
SCSS
$custom: #ccf989;
$custom-light: #ddfbad;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf989",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 137
  },
  "hsl": {
    "h": 84.107,
    "s": 90.323,
    "l": 75.686
  },
  "oklch": {
    "l": 0.92632,
    "c": 0.14792,
    "h": 127
  },
  "luminance": 0.82395
}

Semantic roles & 50–950 ramp

primary
#CCF989
secondary
#864FD7
accent
#00E65C
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF989

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

Preview Lab → · Contrast checker → · Palette generator →

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