#CCCD3F#CCCD3F

#CCCD3F is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.3% C 0.158 H 109.8°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#CCCD3F
RGBrgb(204, 205, 63)
HSLhsl(60, 59%, 53%)
HSVhsv(60, 69%, 80%)
CMYKcmyk(0.5%, 0%, 69.3%, 19.6%)
CIE-LABlab(80.10, -17.08, 66.79)
CIE-LCHlch(80.10, 68.94, 104.34°)
OKLaboklab(82.26% -0.0536 0.1486)
OKLCHoklch(82.26% 0.158 109.8)
XYZxyz(47.6320, 56.8603, 13.1677)
Luminance0.5686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD3F #403FCD
analogous
#CD873F #CCCD3F #85CD3F
triadic
#CCCD3F #3FCCCD #CD3FCC
tetradic
#CCCD3F #3FCD87 #403FCD #CD3F85
square
#CCCD3F #3FCD87 #403FCD #CD3F85
split-complementary
#CCCD3F #3F85CD #873FCD
monochromatic
#73741E #A3A42B #CCCD3F #D9DA70 #E6E6A0

Accessibility & contrast

On white

1.70
#CCCD3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#CCCD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD3F
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD3F#FFFFFF#000000##000000
##CCCD3F1.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC427
Deuteranopia (green-blind)
#DFC949
Tritanopia (blue-blind)
#DAC0B1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccd3f;
/* rgb */ color: rgb(204, 205, 63);
/* oklch */ color: oklch(82.3% 0.158 109.8);
Tailwind
colors: {
  custom: {
    50: '#dfdc7d',
    500: '#cccd3f',
    950: '#000000',
  },
}
SCSS
$custom: #cccd3f;
$custom-light: #dfdc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd3f",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 63
  },
  "hsl": {
    "h": 60.423,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.82259,
    "c": 0.15795,
    "h": 109.8
  },
  "luminance": 0.56859
}

Semantic roles & 50–950 ramp

primary
#CCCD3F
secondary
#34347C
accent
#46E247
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CCCD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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