#CCE968#CCE968

#CCE968 is a very light, vivid yellow-green. Relative luminance 0.721; OKLCH L 88.7% C 0.158 H 120.3°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#CCE968
RGBrgb(204, 233, 104)
HSLhsl(73, 75%, 66%)
HSVhsv(73, 55%, 91%)
CMYKcmyk(12.4%, 0%, 55.4%, 8.6%)
CIE-LABlab(88.02, -27.87, 58.48)
CIE-LCHlch(88.02, 64.78, 115.48°)
OKLaboklab(88.71% -0.0798 0.1365)
OKLCHoklch(88.71% 0.158 120.3)
XYZxyz(56.5400, 72.1148, 24.0350)
Luminance0.7211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE968 #8568E9
analogous
#E9C568 #CCE968 #8BE968
triadic
#CCE968 #68CCE9 #E968CC
tetradic
#CCE968 #68E9C5 #8568E9 #E9688B
square
#CCE968 #68E9C5 #8568E9 #E9688B
split-complementary
#CCE968 #688BE9 #C568E9
monochromatic
#97BB1B #BAE133 #CCE968 #DEF19D #F0F9D3

Accessibility & contrast

On white

1.36
#CCE968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.42
#CCE968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE968
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE968#FFFFFF#000000##000000
##CCE9681.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD5B
Deuteranopia (green-blind)
#F2DD70
Tritanopia (blue-blind)
#D6DECD
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cce968;
/* rgb */ color: rgb(204, 233, 104);
/* oklch */ color: oklch(88.7% 0.158 120.3);
Tailwind
colors: {
  custom: {
    50: '#def097',
    500: '#cce968',
    950: '#000000',
  },
}
SCSS
$custom: #cce968;
$custom-light: #def097;
$custom-dark: #000000;
JSON
{
  "hex": "#cce968",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 104
  },
  "hsl": {
    "h": 73.488,
    "s": 74.566,
    "l": 66.078
  },
  "oklch": {
    "l": 0.88713,
    "c": 0.15814,
    "h": 120.3
  },
  "luminance": 0.72115
}

Semantic roles & 50–950 ramp

primary
#CCE968
secondary
#573BBB
accent
#0FD73C
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #CCE968

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

Preview Lab → · Contrast checker → · Palette generator →

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