#CCD23F#CCD23F

#CCD23F is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.3% C 0.163 H 111.8°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#CCD23F
RGBrgb(204, 210, 63)
HSLhsl(62, 62%, 54%)
HSVhsv(62, 70%, 82%)
CMYKcmyk(2.9%, 0%, 70%, 17.6%)
CIE-LABlab(81.45, -19.55, 68.11)
CIE-LCHlch(81.45, 70.86, 106.01°)
OKLaboklab(83.34% -0.0605 0.1514)
OKLCHoklch(83.34% 0.163 111.8)
XYZxyz(48.8472, 59.2906, 13.5728)
Luminance0.5929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD23F #453FD2
analogous
#D28E3F #CCD23F #82D23F
triadic
#CCD23F #3FCCD2 #D23FCC
tetradic
#CCD23F #3FD28E #453FD2 #D23F82
square
#CCD23F #3FD28E #453FD2 #D23F82
split-complementary
#CCD23F #3F82D2 #8E3FD2
monochromatic
#767A1D #A6AC28 #CCD23F #D9DE71 #E6E9A2

Accessibility & contrast

On white

1.63
#CCD23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#CCD23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD23F
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD23F#FFFFFF#000000##000000
##CCD23F1.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C825
Deuteranopia (green-blind)
#E3CC4A
Tritanopia (blue-blind)
#DAC5B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd23f;
/* rgb */ color: rgb(204, 210, 63);
/* oklch */ color: oklch(83.3% 0.163 111.8);
Tailwind
colors: {
  custom: {
    50: '#dfdf7d',
    500: '#ccd23f',
    950: '#000000',
  },
}
SCSS
$custom: #ccd23f;
$custom-light: #dfdf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd23f",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 63
  },
  "hsl": {
    "h": 62.449,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.83338,
    "c": 0.16301,
    "h": 111.8
  },
  "luminance": 0.59289
}

Semantic roles & 50–950 ramp

primary
#CCD23F
secondary
#363382
accent
#43E549
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CCD23F

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

Preview Lab → · Contrast checker → · Palette generator →

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