#CCE262#CCE262

#CCE262 is a very light, vivid yellow-green. Relative luminance 0.681; OKLCH L 87.1% C 0.155 H 117.9°. Best body text is #000000 at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#CCE262
RGBrgb(204, 226, 98)
HSLhsl(70, 69%, 64%)
HSVhsv(70, 57%, 89%)
CMYKcmyk(9.7%, 0%, 56.6%, 11.4%)
CIE-LABlab(86.06, -25.03, 58.90)
CIE-LCHlch(86.06, 64.00, 113.03°)
OKLaboklab(87.12% -0.0724 0.1368)
OKLCHoklch(87.12% 0.155 117.9)
XYZxyz(54.3036, 68.1124, 21.8392)
Luminance0.6811 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE262 #7862E2
analogous
#E2B862 #CCE262 #8CE262
triadic
#CCE262 #62CCE2 #E262CC
tetradic
#CCE262 #62E2B8 #7862E2 #E2628C
square
#CCE262 #62E2B8 #7862E2 #E2628C
split-complementary
#CCE262 #628CE2 #B862E2
monochromatic
#92AA1F #BBD82E #CCE262 #DDEC96 #EEF5C9

Accessibility & contrast

On white

1.44
#CCE262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.62
#CCE262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE262
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE262#FFFFFF#000000##000000
##CCE2621.001.4414.6214.62
#FFFFFF1.441.0021.0021.00
#00000014.6221.001.001.00
##00000014.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D754
Deuteranopia (green-blind)
#EDD86A
Tritanopia (blue-blind)
#D7D7C6
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cce262;
/* rgb */ color: rgb(204, 226, 98);
/* oklch */ color: oklch(87.1% 0.155 117.9);
Tailwind
colors: {
  custom: {
    50: '#deeb93',
    500: '#cce262',
    950: '#000000',
  },
}
SCSS
$custom: #cce262;
$custom-light: #deeb93;
$custom-dark: #000000;
JSON
{
  "hex": "#cce262",
  "rgb": {
    "r": 204,
    "g": 226,
    "b": 98
  },
  "hsl": {
    "h": 70.313,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.8712,
    "c": 0.15477,
    "h": 117.9
  },
  "luminance": 0.68112
}

Semantic roles & 50–950 ramp

primary
#CCE262
secondary
#4F3CAC
accent
#15D135
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #CCE262

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

Preview Lab → · Contrast checker → · Palette generator →

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