#CCD05F#CCD05F

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

Color values

HEX#CCD05F
RGBrgb(204, 208, 95)
HSLhsl(62, 55%, 59%)
HSVhsv(62, 54%, 82%)
CMYKcmyk(1.9%, 0%, 54.3%, 18.4%)
CIE-LABlab(81.17, -16.49, 54.68)
CIE-LCHlch(81.17, 57.11, 106.78°)
OKLaboklab(83.2% -0.0486 0.1274)
OKLCHoklch(83.2% 0.136 110.9)
XYZxyz(49.5245, 58.7764, 19.5604)
Luminance0.5877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD05F #635FD0
analogous
#D09C5F #CCD05F #94D05F
triadic
#CCD05F #5FCCD0 #D05FCC
tetradic
#CCD05F #5FD09C #635FD0 #D05F94
square
#CCD05F #5FD09C #635FD0 #D05F94
split-complementary
#CCD05F #5F94D0 #9C5FD0
monochromatic
#888C29 #B6BB37 #CCD05F #DBDE8E #EAECBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD05F#FFFFFF#000000##000000
##CCD05F1.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)
#DEC854
Deuteranopia (green-blind)
#DFCB65
Tritanopia (blue-blind)
#D8C5B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd05f;
/* rgb */ color: rgb(204, 208, 95);
/* oklch */ color: oklch(83.2% 0.136 110.9);
Tailwind
colors: {
  custom: {
    50: '#dede90',
    500: '#ccd05f',
    950: '#000000',
  },
}
SCSS
$custom: #ccd05f;
$custom-light: #dede90;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd05f",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 95
  },
  "hsl": {
    "h": 62.124,
    "s": 54.589,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83195,
    "c": 0.13637,
    "h": 110.9
  },
  "luminance": 0.58775
}

Semantic roles & 50–950 ramp

primary
#CCD05F
secondary
#444192
accent
#4ADE4F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD05F

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

Preview Lab → · Contrast checker → · Palette generator →

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