#CCF051#CCF051

#CCF051 is a very light, vivid yellow-green. Relative luminance 0.758; OKLCH L 90.0% C 0.185 H 121.2°. Best body text is #000000 at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#CCF051
RGBrgb(204, 240, 81)
HSLhsl(74, 84%, 63%)
HSVhsv(74, 66%, 94%)
CMYKcmyk(15%, 0%, 66.3%, 5.9%)
CIE-LABlab(89.74, -32.80, 69.83)
CIE-LCHlch(89.74, 77.15, 115.16°)
OKLaboklab(90.04% -0.0957 0.1578)
OKLCHoklch(90.04% 0.185 121.2)
XYZxyz(57.5479, 75.7517, 19.3728)
Luminance0.7575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF051 #7551F0
analogous
#F0C451 #CCF051 #7CF051
triadic
#CCF051 #51CCF0 #F051CC
tetradic
#CCF051 #51F0C4 #7551F0 #F0517C
square
#CCF051 #51F0C4 #7551F0 #F0517C
split-complementary
#CCF051 #517CF0 #C451F0
monochromatic
#91B710 #BBEB19 #CCF051 #DDF589 #EDFAC2

Accessibility & contrast

On white

1.30
#CCF051 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.15
#CCF051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF051
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF051#FFFFFF#000000##000000
##CCF0511.001.3016.1516.15
#FFFFFF1.301.0021.0021.00
#00000016.1521.001.001.00
##00000016.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE23A
Deuteranopia (green-blind)
#FAE25D
Tritanopia (blue-blind)
#D7E4D0
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ccf051;
/* rgb */ color: rgb(204, 240, 81);
/* oklch */ color: oklch(90.0% 0.185 121.2);
Tailwind
colors: {
  custom: {
    50: '#dff58a',
    500: '#ccf051',
    950: '#000000',
  },
}
SCSS
$custom: #ccf051;
$custom-light: #dff58a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf051",
  "rgb": {
    "r": 204,
    "g": 240,
    "b": 81
  },
  "hsl": {
    "h": 73.585,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.90036,
    "c": 0.18452,
    "h": 121.2
  },
  "luminance": 0.75752
}

Semantic roles & 50–950 ramp

primary
#CCF051
secondary
#4E2FB6
accent
#05E137
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CCF051

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

Preview Lab → · Contrast checker → · Palette generator →

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