#CCE762#CCE762

#CCE762 is a very light, vivid yellow-green. Relative luminance 0.709; OKLCH L 88.2% C 0.161 H 119.5°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#CCE762
RGBrgb(204, 231, 98)
HSLhsl(72, 73%, 65%)
HSVhsv(72, 58%, 91%)
CMYKcmyk(11.7%, 0%, 57.6%, 9.4%)
CIE-LABlab(87.42, -27.41, 60.43)
CIE-LCHlch(87.42, 66.35, 114.40°)
OKLaboklab(88.21% -0.0791 0.1401)
OKLCHoklch(88.21% 0.161 119.5)
XYZxyz(55.6831, 70.8713, 22.2990)
Luminance0.7087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE762 #7D62E7
analogous
#E7BF62 #CCE762 #8AE762
triadic
#CCE762 #62CCE7 #E762CC
tetradic
#CCE762 #62E7BF #7D62E7 #E7628A
square
#CCE762 #62E7BF #7D62E7 #E7628A
split-complementary
#CCE762 #628AE7 #BF62E7
monochromatic
#94B31B #BBDF2D #CCE762 #DDEF97 #EEF7CC

Accessibility & contrast

On white

1.38
#CCE762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.17
#CCE762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE762
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE762#FFFFFF#000000##000000
##CCE7621.001.3815.1715.17
#FFFFFF1.381.0021.0021.00
#00000015.1721.001.001.00
##00000015.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB54
Deuteranopia (green-blind)
#F1DC6A
Tritanopia (blue-blind)
#D6DCCA
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #cce762;
/* rgb */ color: rgb(204, 231, 98);
/* oklch */ color: oklch(88.2% 0.161 119.5);
Tailwind
colors: {
  custom: {
    50: '#deee93',
    500: '#cce762',
    950: '#000000',
  },
}
SCSS
$custom: #cce762;
$custom-light: #deee93;
$custom-dark: #000000;
JSON
{
  "hex": "#cce762",
  "rgb": {
    "r": 204,
    "g": 231,
    "b": 98
  },
  "hsl": {
    "h": 72.18,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.88212,
    "c": 0.16084,
    "h": 119.5
  },
  "luminance": 0.70871
}

Semantic roles & 50–950 ramp

primary
#CCE762
secondary
#523AB4
accent
#10D638
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #CCE762

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

Preview Lab → · Contrast checker → · Palette generator →

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