#CCEB48#CCEB48

#CCEB48 is a very light, vivid yellow-green. Relative luminance 0.727; OKLCH L 88.9% C 0.185 H 119.7°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#CCEB48
RGBrgb(204, 235, 72)
HSLhsl(71, 80%, 60%)
HSVhsv(71, 69%, 92%)
CMYKcmyk(13.2%, 0%, 69.4%, 7.8%)
CIE-LABlab(88.32, -31.01, 71.68)
CIE-LCHlch(88.32, 78.10, 113.40°)
OKLaboklab(88.87% -0.0915 0.1603)
OKLCHoklch(88.87% 0.185 119.7)
XYZxyz(55.7809, 72.7222, 17.2278)
Luminance0.7272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEB48 #6748EB
analogous
#EBB848 #CCEB48 #7AEB48
triadic
#CCEB48 #48CCEB #EB48CC
tetradic
#CCEB48 #48EBB8 #6748EB #EB487A
square
#CCEB48 #48EBB8 #6748EB #EB487A
split-complementary
#CCEB48 #487AEB #B848EB
monochromatic
#8AA612 #B8DE18 #CCEB48 #DBF17F #EBF7B6

Accessibility & contrast

On white

1.35
#CCEB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.54
#CCEB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEB48
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEB48#FFFFFF#000000##000000
##CCEB481.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADE2D
Deuteranopia (green-blind)
#F6DE55
Tritanopia (blue-blind)
#D7DFCB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cceb48;
/* rgb */ color: rgb(204, 235, 72);
/* oklch */ color: oklch(88.9% 0.185 119.7);
Tailwind
colors: {
  custom: {
    50: '#dff185',
    500: '#cceb48',
    950: '#000000',
  },
}
SCSS
$custom: #cceb48;
$custom-light: #dff185;
$custom-dark: #000000;
JSON
{
  "hex": "#cceb48",
  "rgb": {
    "r": 204,
    "g": 235,
    "b": 72
  },
  "hsl": {
    "h": 71.411,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.88866,
    "c": 0.18463,
    "h": 119.7
  },
  "luminance": 0.72722
}

Semantic roles & 50–950 ramp

primary
#CCEB48
secondary
#462FA8
accent
#09DD31
background
#FEFFFC
surface
#FCFEF3
border
#D5D6CD
text
#16160C
muted
#84857F

Preview Lab

Preview with #CCEB48

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

Preview Lab → · Contrast checker → · Palette generator →

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