#CCD74A#CCD74A

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

Color values

HEX#CCD74A
RGBrgb(204, 215, 74)
HSLhsl(65, 64%, 57%)
HSVhsv(65, 66%, 84%)
CMYKcmyk(5.1%, 0%, 65.6%, 15.7%)
CIE-LABlab(82.88, -21.39, 65.44)
CIE-LCHlch(82.88, 68.85, 108.10°)
OKLaboklab(84.5% -0.0646 0.1475)
OKLCHoklch(84.5% 0.161 113.6)
XYZxyz(50.4397, 61.9336, 15.7745)
Luminance0.6193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD74A #554AD7
analogous
#D79C4A #CCD74A #86D74A
triadic
#CCD74A #4ACCD7 #D74ACC
tetradic
#CCD74A #4AD79C #554AD7 #D74A86
square
#CCD74A #4AD79C #554AD7 #D74A86
split-complementary
#CCD74A #4A86D7 #9C4AD7
monochromatic
#80881E #AFBB29 #CCD74A #DAE27C #E8EDAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD74A#FFFFFF#000000##000000
##CCD74A1.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)
#E6CD36
Deuteranopia (green-blind)
#E6D054
Tritanopia (blue-blind)
#D9CBBA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ccd74a;
/* rgb */ color: rgb(204, 215, 74);
/* oklch */ color: oklch(84.5% 0.161 113.6);
Tailwind
colors: {
  custom: {
    50: '#dfe384',
    500: '#ccd74a',
    950: '#000000',
  },
}
SCSS
$custom: #ccd74a;
$custom-light: #dfe384;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd74a",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 74
  },
  "hsl": {
    "h": 64.681,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84504,
    "c": 0.16103,
    "h": 113.6
  },
  "luminance": 0.61933
}

Semantic roles & 50–950 ramp

primary
#CCD74A
secondary
#3D378F
accent
#41E74E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD74A

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

Preview Lab → · Contrast checker → · Palette generator →

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