#CCD13F#CCD13F

#CCD13F is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.1% C 0.162 H 111.4°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#CCD13F
RGBrgb(204, 209, 63)
HSLhsl(62, 61%, 53%)
HSVhsv(62, 70%, 82%)
CMYKcmyk(2.4%, 0%, 69.9%, 18%)
CIE-LABlab(81.18, -19.05, 67.85)
CIE-LCHlch(81.18, 70.47, 105.69°)
OKLaboklab(83.12% -0.0591 0.1508)
OKLCHoklch(83.12% 0.162 111.4)
XYZxyz(48.6011, 58.7984, 13.4907)
Luminance0.5880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD13F #443FD1
analogous
#D18D3F #CCD13F #83D13F
triadic
#CCD13F #3FCCD1 #D13FCC
tetradic
#CCD13F #3FD18D #443FD1 #D13F83
square
#CCD13F #3FD18D #443FD1 #D13F83
split-complementary
#CCD13F #3F83D1 #8D3FD1
monochromatic
#76791D #A6AA29 #CCD13F #D9DD70 #E6E9A2

Accessibility & contrast

On white

1.65
#CCD13F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#CCD13F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD13F
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD13F#FFFFFF#000000##000000
##CCD13F1.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C826
Deuteranopia (green-blind)
#E2CB4A
Tritanopia (blue-blind)
#DAC4B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd13f;
/* rgb */ color: rgb(204, 209, 63);
/* oklch */ color: oklch(83.1% 0.162 111.4);
Tailwind
colors: {
  custom: {
    50: '#dfde7d',
    500: '#ccd13f',
    950: '#000000',
  },
}
SCSS
$custom: #ccd13f;
$custom-light: #dfde7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd13f",
  "rgb": {
    "r": 204,
    "g": 209,
    "b": 63
  },
  "hsl": {
    "h": 62.055,
    "s": 61.345,
    "l": 53.333
  },
  "oklch": {
    "l": 0.83122,
    "c": 0.162,
    "h": 111.4
  },
  "luminance": 0.58797
}

Semantic roles & 50–950 ramp

primary
#CCD13F
secondary
#363381
accent
#43E449
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CCD13F

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

Preview Lab → · Contrast checker → · Palette generator →

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