#CCD73F#CCD73F

#CCD73F is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.4% C 0.168 H 113.6°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#CCD73F
RGBrgb(204, 215, 63)
HSLhsl(64, 66%, 55%)
HSVhsv(64, 71%, 84%)
CMYKcmyk(5.1%, 0%, 70.7%, 15.7%)
CIE-LABlab(82.81, -21.99, 69.43)
CIE-LCHlch(82.81, 72.83, 107.57°)
OKLaboklab(84.42% -0.0673 0.1542)
OKLCHoklch(84.42% 0.168 113.6)
XYZxyz(50.1010, 61.7982, 13.9907)
Luminance0.6180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD73F #4A3FD7
analogous
#D7963F #CCD73F #80D73F
triadic
#CCD73F #3FCCD7 #D73FCC
tetradic
#CCD73F #3FD796 #4A3FD7 #D73F80
square
#CCD73F #3FD796 #4A3FD7 #D73F80
split-complementary
#CCD73F #3F80D7 #963FD7
monochromatic
#79811B #A9B325 #CCD73F #D9E272 #E7ECA4

Accessibility & contrast

On white

1.57
#CCD73F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#CCD73F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD73F
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD73F#FFFFFF#000000##000000
##CCD73F1.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD24
Deuteranopia (green-blind)
#E7D04B
Tritanopia (blue-blind)
#D9CAB9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ccd73f;
/* rgb */ color: rgb(204, 215, 63);
/* oklch */ color: oklch(84.4% 0.168 113.6);
Tailwind
colors: {
  custom: {
    50: '#dfe37e',
    500: '#ccd73f',
    950: '#000000',
  },
}
SCSS
$custom: #ccd73f;
$custom-light: #dfe37e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd73f",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 63
  },
  "hsl": {
    "h": 64.342,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.84423,
    "c": 0.16821,
    "h": 113.6
  },
  "luminance": 0.61797
}

Semantic roles & 50–950 ramp

primary
#CCD73F
secondary
#393288
accent
#3FE84C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD73F

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

Preview Lab → · Contrast checker → · Palette generator →

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