#CCE950#CCE950

#CCE950 is a very light, vivid yellow-green. Relative luminance 0.717; OKLCH L 88.5% C 0.177 H 119.4°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#CCE950
RGBrgb(204, 233, 80)
HSLhsl(71, 78%, 61%)
HSVhsv(71, 66%, 91%)
CMYKcmyk(12.4%, 0%, 65.7%, 8.6%)
CIE-LABlab(87.82, -29.62, 68.22)
CIE-LCHlch(87.82, 74.37, 113.47°)
OKLaboklab(88.49% -0.0869 0.1543)
OKLCHoklch(88.49% 0.177 119.4)
XYZxyz(55.4897, 71.6947, 18.5031)
Luminance0.7169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE950 #6D50E9
analogous
#E9BA50 #CCE950 #80E950
triadic
#CCE950 #50CCE9 #E950CC
tetradic
#CCE950 #50E9BA #6D50E9 #E95080
square
#CCE950 #50E9BA #6D50E9 #E95080
split-complementary
#CCE950 #5080E9 #BA50E9
monochromatic
#8DA915 #BBE01C #CCE950 #DCF086 #ECF7BD

Accessibility & contrast

On white

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

On black

15.34
#CCE950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE950
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE950#FFFFFF#000000##000000
##CCE9501.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC3A
Deuteranopia (green-blind)
#F4DD5B
Tritanopia (blue-blind)
#D7DDCA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cce950;
/* rgb */ color: rgb(204, 233, 80);
/* oklch */ color: oklch(88.5% 0.177 119.4);
Tailwind
colors: {
  custom: {
    50: '#dff089',
    500: '#cce950',
    950: '#000000',
  },
}
SCSS
$custom: #cce950;
$custom-light: #dff089;
$custom-dark: #000000;
JSON
{
  "hex": "#cce950",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 80
  },
  "hsl": {
    "h": 71.373,
    "s": 77.665,
    "l": 61.373
  },
  "oklch": {
    "l": 0.88485,
    "c": 0.17706,
    "h": 119.4
  },
  "luminance": 0.71694
}

Semantic roles & 50–950 ramp

primary
#CCE950
secondary
#4932AB
accent
#0CDA33
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CCE950

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

Preview Lab → · Contrast checker → · Palette generator →

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