#CCE74F#CCE74F

#CCE74F is a very light, vivid yellow-green. Relative luminance 0.706; OKLCH L 88.0% C 0.175 H 118.8°. Best body text is #000000 at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#CCE74F
RGBrgb(204, 231, 79)
HSLhsl(71, 76%, 61%)
HSVhsv(71, 66%, 91%)
CMYKcmyk(11.7%, 0%, 65.8%, 9.4%)
CIE-LABlab(87.27, -28.74, 68.03)
CIE-LCHlch(87.27, 73.86, 112.90°)
OKLaboklab(88.04% -0.0846 0.1537)
OKLCHoklch(88.04% 0.175 118.8)
XYZxyz(54.8900, 70.5541, 18.1223)
Luminance0.7055 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE74F #6A4FE7
analogous
#E7B64F #CCE74F #80E74F
triadic
#CCE74F #4FCCE7 #E74FCC
tetradic
#CCE74F #4FE7B6 #6A4FE7 #E74F80
square
#CCE74F #4FE7B6 #6A4FE7 #E74F80
split-complementary
#CCE74F #4F80E7 #B64FE7
monochromatic
#8CA517 #B9DB1E #CCE74F #DCEE85 #EBF6BB

Accessibility & contrast

On white

1.39
#CCE74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.11
#CCE74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE74F
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE74F#FFFFFF#000000##000000
##CCE74F1.001.3915.1115.11
#FFFFFF1.391.0021.0021.00
#00000015.1121.001.001.00
##00000015.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB39
Deuteranopia (green-blind)
#F2DB5A
Tritanopia (blue-blind)
#D7DBC8
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #cce74f;
/* rgb */ color: rgb(204, 231, 79);
/* oklch */ color: oklch(88.0% 0.175 118.8);
Tailwind
colors: {
  custom: {
    50: '#dfee88',
    500: '#cce74f',
    950: '#000000',
  },
}
SCSS
$custom: #cce74f;
$custom-light: #dfee88;
$custom-dark: #000000;
JSON
{
  "hex": "#cce74f",
  "rgb": {
    "r": 204,
    "g": 231,
    "b": 79
  },
  "hsl": {
    "h": 70.658,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.88038,
    "c": 0.17545,
    "h": 118.8
  },
  "luminance": 0.70554
}

Semantic roles & 50–950 ramp

primary
#CCE74F
secondary
#4833A7
accent
#0DD831
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CCE74F

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

Preview Lab → · Contrast checker → · Palette generator →

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