#CCD74D#CCD74D

#CCD74D is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.5% C 0.159 H 113.7°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#CCD74D
RGBrgb(204, 215, 77)
HSLhsl(65, 63%, 57%)
HSVhsv(65, 64%, 84%)
CMYKcmyk(5.1%, 0%, 64.2%, 15.7%)
CIE-LABlab(82.90, -21.21, 64.28)
CIE-LCHlch(82.90, 67.69, 108.26°)
OKLaboklab(84.53% -0.0638 0.1455)
OKLCHoklch(84.53% 0.159 113.7)
XYZxyz(50.5432, 61.9750, 16.3196)
Luminance0.6197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD74D #584DD7
analogous
#D79D4D #CCD74D #87D74D
triadic
#CCD74D #4DCCD7 #D74DCC
tetradic
#CCD74D #4DD79D #584DD7 #D74D87
square
#CCD74D #4DD79D #584DD7 #D74D87
split-complementary
#CCD74D #4D87D7 #9D4DD7
monochromatic
#828A1F #B1BC2A #CCD74D #DAE27F #E9EDB1

Accessibility & contrast

On white

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

On black

13.39
#CCD74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD74D
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD74D#FFFFFF#000000##000000
##CCD74D1.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD3B
Deuteranopia (green-blind)
#E6D056
Tritanopia (blue-blind)
#D9CBBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ccd74d;
/* rgb */ color: rgb(204, 215, 77);
/* oklch */ color: oklch(84.5% 0.159 113.7);
Tailwind
colors: {
  custom: {
    50: '#dfe385',
    500: '#ccd74d',
    950: '#000000',
  },
}
SCSS
$custom: #ccd74d;
$custom-light: #dfe385;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd74d",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 77
  },
  "hsl": {
    "h": 64.783,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.84528,
    "c": 0.15888,
    "h": 113.7
  },
  "luminance": 0.61974
}

Semantic roles & 50–950 ramp

primary
#CCD74D
secondary
#3F3890
accent
#41E64F
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCD74D

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

Preview Lab → · Contrast checker → · Palette generator →

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