#CCD26F#CCD26F

#CCD26F is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 83.8% C 0.123 H 111.8°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#CCD26F
RGBrgb(204, 210, 111)
HSLhsl(64, 52%, 63%)
HSVhsv(64, 47%, 82%)
CMYKcmyk(2.9%, 0%, 47.1%, 17.6%)
CIE-LABlab(81.88, -16.08, 48.02)
CIE-LCHlch(81.88, 50.64, 108.52°)
OKLaboklab(83.82% -0.0459 0.1144)
OKLCHoklch(83.82% 0.123 111.8)
XYZxyz(50.8185, 60.0792, 23.9552)
Luminance0.6008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD26F #756FD2
analogous
#D2A66F #CCD26F #9BD26F
triadic
#CCD26F #6FCCD2 #D26FCC
tetradic
#CCD26F #6FD2A6 #756FD2 #D26F9B
square
#CCD26F #6FD2A6 #756FD2 #D26F9B
split-complementary
#CCD26F #6F9BD2 #A66FD2
monochromatic
#91972F #BBC340 #CCD26F #DDE19E #EDEFCC

Accessibility & contrast

On white

1.61
#CCD26F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.02
#CCD26F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD26F
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD26F#FFFFFF#000000##000000
##CCD26F1.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCA66
Deuteranopia (green-blind)
#DFCD74
Tritanopia (blue-blind)
#D7C8BB
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ccd26f;
/* rgb */ color: rgb(204, 210, 111);
/* oklch */ color: oklch(83.8% 0.123 111.8);
Tailwind
colors: {
  custom: {
    50: '#dddf9a',
    500: '#ccd26f',
    950: '#000000',
  },
}
SCSS
$custom: #ccd26f;
$custom-light: #dddf9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd26f",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 111
  },
  "hsl": {
    "h": 63.636,
    "s": 52.381,
    "l": 62.941
  },
  "oklch": {
    "l": 0.8382,
    "c": 0.12327,
    "h": 111.8
  },
  "luminance": 0.60078
}

Semantic roles & 50–950 ramp

primary
#CCD26F
secondary
#4E499D
accent
#26C02F
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD26F

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

Preview Lab → · Contrast checker → · Palette generator →

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