#CCEA57#CCEA57

#CCEA57 is a very light, vivid yellow-green. Relative luminance 0.724; OKLCH L 88.8% C 0.173 H 119.9°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#CCEA57
RGBrgb(204, 234, 87)
HSLhsl(72, 78%, 63%)
HSVhsv(72, 63%, 92%)
CMYKcmyk(12.8%, 0%, 62.8%, 8.2%)
CIE-LABlab(88.15, -29.63, 65.81)
CIE-LCHlch(88.15, 72.18, 114.24°)
OKLaboklab(88.76% -0.0863 0.1501)
OKLCHoklch(88.76% 0.173 119.9)
XYZxyz(56.0458, 72.3714, 20.0315)
Luminance0.7237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEA57 #7557EA
analogous
#EABF57 #CCEA57 #82EA57
triadic
#CCEA57 #57CCEA #EA57CC
tetradic
#CCEA57 #57EABF #7557EA #EA5782
square
#CCEA57 #57EABF #7557EA #EA5782
split-complementary
#CCEA57 #5782EA #BF57EA
monochromatic
#91B116 #BBE321 #CCEA57 #DDF18D #EDF8C4

Accessibility & contrast

On white

1.36
#CCEA57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.47
#CCEA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEA57
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEA57#FFFFFF#000000##000000
##CCEA571.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD44
Deuteranopia (green-blind)
#F4DE61
Tritanopia (blue-blind)
#D7DECC
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ccea57;
/* rgb */ color: rgb(204, 234, 87);
/* oklch */ color: oklch(88.8% 0.173 119.9);
Tailwind
colors: {
  custom: {
    50: '#dff08d',
    500: '#ccea57',
    950: '#000000',
  },
}
SCSS
$custom: #ccea57;
$custom-light: #dff08d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccea57",
  "rgb": {
    "r": 204,
    "g": 234,
    "b": 87
  },
  "hsl": {
    "h": 72.245,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.88764,
    "c": 0.17319,
    "h": 119.9
  },
  "luminance": 0.72371
}

Semantic roles & 50–950 ramp

primary
#CCEA57
secondary
#4E34B1
accent
#0BDA36
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CCEA57

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

Preview Lab → · Contrast checker → · Palette generator →

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