#CCE946#CCE946

#CCE946 is a very light, vivid yellow-green. Relative luminance 0.716; OKLCH L 88.4% C 0.184 H 119.1°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#CCE946
RGBrgb(204, 233, 70)
HSLhsl(71, 79%, 59%)
HSVhsv(71, 70%, 91%)
CMYKcmyk(12.4%, 0%, 70%, 8.6%)
CIE-LABlab(87.76, -30.19, 71.83)
CIE-LCHlch(87.76, 77.92, 112.80°)
OKLaboklab(88.41% -0.0894 0.1604)
OKLCHoklch(88.41% 0.184 119.1)
XYZxyz(55.1473, 71.5577, 16.7000)
Luminance0.7156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE946 #6346E9
analogous
#E9B546 #CCE946 #7BE946
triadic
#CCE946 #46CCE9 #E946CC
tetradic
#CCE946 #46E9B5 #6346E9 #E9467B
square
#CCE946 #46E9B5 #6346E9 #E9467B
split-complementary
#CCE946 #467BE9 #B546E9
monochromatic
#88A113 #B6D81A #CCE946 #DBF07D #EAF6B3

Accessibility & contrast

On white

1.37
#CCE946 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.31
#CCE946 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE946
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE946#FFFFFF#000000##000000
##CCE9461.001.3715.3115.31
#FFFFFF1.371.0021.0021.00
#00000015.3121.001.001.00
##00000015.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DC2A
Deuteranopia (green-blind)
#F5DD53
Tritanopia (blue-blind)
#D8DDC9
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cce946;
/* rgb */ color: rgb(204, 233, 70);
/* oklch */ color: oklch(88.4% 0.184 119.1);
Tailwind
colors: {
  custom: {
    50: '#dff083',
    500: '#cce946',
    950: '#000000',
  },
}
SCSS
$custom: #cce946;
$custom-light: #dff083;
$custom-dark: #000000;
JSON
{
  "hex": "#cce946",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 70
  },
  "hsl": {
    "h": 70.675,
    "s": 78.744,
    "l": 59.412
  },
  "oklch": {
    "l": 0.88411,
    "c": 0.1836,
    "h": 119.1
  },
  "luminance": 0.71557
}

Semantic roles & 50–950 ramp

primary
#CCE946
secondary
#442FA4
accent
#33F555
background
#FEFFFB
surface
#FCFEF2
border
#D5D6CC
text
#16160B
muted
#84857E

Preview Lab

Preview with #CCE946

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

Preview Lab → · Contrast checker → · Palette generator →

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