#CCF67C#CCF67C

#CCF67C is a very light, vivid yellow-green. Relative luminance 0.802; OKLCH L 91.8% C 0.157 H 125.1°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#CCF67C
RGBrgb(204, 246, 124)
HSLhsl(81, 87%, 73%)
HSVhsv(81, 50%, 96%)
CMYKcmyk(17.1%, 0%, 49.6%, 3.5%)
CIE-LABlab(91.78, -32.10, 53.82)
CIE-LCHlch(91.78, 62.66, 120.81°)
OKLaboklab(91.8% -0.0899 0.1281)
OKLCHoklch(91.8% 0.157 125.1)
XYZxyz(61.4956, 80.2036, 31.3059)
Luminance0.8020 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF67C #A67CF6
analogous
#F6E37C #CCF67C #8FF67C
triadic
#CCF67C #7CCCF6 #F67CCC
tetradic
#CCF67C #7CF6E3 #A67CF6 #F67C8F
square
#CCF67C #7CF6E3 #A67CF6 #F67C8F
split-complementary
#CCF67C #7C8FF6 #E37CF6
monochromatic
#9DE810 #B6F243 #CCF67C #E2FAB5 #F4FDE2

Accessibility & contrast

On white

1.23
#CCF67C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.04
#CCF67C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF67C
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF67C#FFFFFF#000000##000000
##CCF67C1.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE971
Deuteranopia (green-blind)
#FBE783
Tritanopia (blue-blind)
#D3ECDA
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ccf67c;
/* rgb */ color: rgb(204, 246, 124);
/* oklch */ color: oklch(91.8% 0.157 125.1);
Tailwind
colors: {
  custom: {
    50: '#ddf9a4',
    500: '#ccf67c',
    950: '#000000',
  },
}
SCSS
$custom: #ccf67c;
$custom-light: #ddf9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf67c",
  "rgb": {
    "r": 204,
    "g": 246,
    "b": 124
  },
  "hsl": {
    "h": 80.656,
    "s": 87.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.91799,
    "c": 0.15656,
    "h": 125.1
  },
  "luminance": 0.80204
}

Semantic roles & 50–950 ramp

primary
#CCF67C
secondary
#7544D2
accent
#02E450
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF67C

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

Preview Lab → · Contrast checker → · Palette generator →

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