#CCF267#CCF267

#CCF267 is a very light, vivid yellow-green. Relative luminance 0.773; OKLCH L 90.7% C 0.170 H 122.7°. Best body text is #000000 at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#CCF267
RGBrgb(204, 242, 103)
HSLhsl(76, 84%, 68%)
HSVhsv(76, 57%, 95%)
CMYKcmyk(15.7%, 0%, 57.4%, 5.1%)
CIE-LABlab(90.47, -32.15, 61.69)
CIE-LCHlch(90.47, 69.56, 117.53°)
OKLaboklab(90.68% -0.0919 0.1433)
OKLCHoklch(90.68% 0.17 122.7)
XYZxyz(59.1026, 77.3207, 24.6401)
Luminance0.7732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF267 #8D67F2
analogous
#F2D367 #CCF267 #86F267
triadic
#CCF267 #67CCF2 #F267CC
tetradic
#CCF267 #67F2D3 #8D67F2 #F26786
square
#CCF267 #67F2D3 #8D67F2 #F26786
split-complementary
#CCF267 #6786F2 #D367F2
monochromatic
#9ACD12 #B9ED2F #CCF267 #DFF79F #F2FCD8

Accessibility & contrast

On white

1.28
#CCF267 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.46
#CCF267 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF267
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF267#FFFFFF#000000##000000
##CCF2671.001.2816.4616.46
#FFFFFF1.281.0021.0021.00
#00000016.4621.001.001.00
##00000016.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE558
Deuteranopia (green-blind)
#FAE470
Tritanopia (blue-blind)
#D5E7D4
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ccf267;
/* rgb */ color: rgb(204, 242, 103);
/* oklch */ color: oklch(90.7% 0.170 122.7);
Tailwind
colors: {
  custom: {
    50: '#def697',
    500: '#ccf267',
    950: '#000000',
  },
}
SCSS
$custom: #ccf267;
$custom-light: #def697;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf267",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 103
  },
  "hsl": {
    "h": 76.403,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.90677,
    "c": 0.17022,
    "h": 122.7
  },
  "luminance": 0.77321
}

Semantic roles & 50–950 ramp

primary
#CCF267
secondary
#5D34C9
accent
#05E141
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF267

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

Preview Lab → · Contrast checker → · Palette generator →

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