#CCE233#CCE233

#CCE233 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 86.8% C 0.186 H 116.9°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#CCE233
RGBrgb(204, 226, 51)
HSLhsl(68, 75%, 54%)
HSVhsv(68, 77%, 89%)
CMYKcmyk(9.7%, 0%, 77.4%, 11.4%)
CIE-LABlab(85.74, -27.78, 75.99)
CIE-LCHlch(85.74, 80.91, 110.08°)
OKLaboklab(86.76% -0.0843 0.166)
OKLCHoklch(86.76% 0.186 116.9)
XYZxyz(52.6971, 67.4698, 13.3782)
Luminance0.6747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE233 #4933E2
analogous
#E2A133 #CCE233 #75E233
triadic
#CCE233 #33CCE2 #E233CC
tetradic
#CCE233 #33E2A1 #4933E2 #E23375
square
#CCE233 #33E2A1 #4933E2 #E23375
split-complementary
#CCE233 #3375E2 #A133E2
monochromatic
#798713 #A9BD1B #CCE233 #D9EA69 #E7F19E

Accessibility & contrast

On white

1.45
#CCE233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.49
#CCE233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE233
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE233#FFFFFF#000000##000000
##CCE2331.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D600
Deuteranopia (green-blind)
#F0D744
Tritanopia (blue-blind)
#D9D5C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cce233;
/* rgb */ color: rgb(204, 226, 51);
/* oklch */ color: oklch(86.8% 0.186 116.9);
Tailwind
colors: {
  custom: {
    50: '#e0eb79',
    500: '#cce233',
    950: '#000000',
  },
}
SCSS
$custom: #cce233;
$custom-light: #e0eb79;
$custom-dark: #000000;
JSON
{
  "hex": "#cce233",
  "rgb": {
    "r": 204,
    "g": 226,
    "b": 51
  },
  "hsl": {
    "h": 67.543,
    "s": 75.107,
    "l": 54.314
  },
  "oklch": {
    "l": 0.86758,
    "c": 0.1862,
    "h": 116.9
  },
  "luminance": 0.67469
}

Semantic roles & 50–950 ramp

primary
#CCE233
secondary
#382C8D
accent
#36F24E
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#16160A
muted
#84847D

Preview Lab

Preview with #CCE233

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

Preview Lab → · Contrast checker → · Palette generator →

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