#CCDA79#CCDA79

#CCDA79 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.7% C 0.123 H 115.8°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#CCDA79
RGBrgb(204, 218, 121)
HSLhsl(69, 57%, 66%)
HSVhsv(69, 44%, 85%)
CMYKcmyk(6.4%, 0%, 44.5%, 14.5%)
CIE-LABlab(84.15, -19.06, 45.96)
CIE-LCHlch(84.15, 49.75, 112.52°)
OKLaboklab(85.67% -0.0534 0.1106)
OKLCHoklch(85.67% 0.123 115.8)
XYZxyz(53.4250, 64.3612, 27.6940)
Luminance0.6436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDA79 #8779DA
analogous
#DAB879 #CCDA79 #9CDA79
triadic
#CCDA79 #79CCDA #DA79CC
tetradic
#CCDA79 #79DAB8 #8779DA #DA799C
square
#CCDA79 #79DAB8 #8779DA #DA799C
split-complementary
#CCDA79 #799CDA #B879DA
monochromatic
#98AA2F #BACD49 #CCDA79 #DEE7A9 #F1F4D9

Accessibility & contrast

On white

1.51
#CCDA79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#CCDA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDA79
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDA79#FFFFFF#000000##000000
##CCDA791.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D171
Deuteranopia (green-blind)
#E5D37E
Tritanopia (blue-blind)
#D6D0C3
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ccda79;
/* rgb */ color: rgb(204, 218, 121);
/* oklch */ color: oklch(85.7% 0.123 115.8);
Tailwind
colors: {
  custom: {
    50: '#dde5a1',
    500: '#ccda79',
    950: '#000000',
  },
}
SCSS
$custom: #ccda79;
$custom-light: #dde5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccda79",
  "rgb": {
    "r": 204,
    "g": 218,
    "b": 121
  },
  "hsl": {
    "h": 68.66,
    "s": 56.725,
    "l": 66.471
  },
  "oklch": {
    "l": 0.85674,
    "c": 0.12279,
    "h": 115.8
  },
  "luminance": 0.64361
}

Semantic roles & 50–950 ramp

primary
#CCDA79
secondary
#594BAD
accent
#21C439
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCDA79

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

Preview Lab → · Contrast checker → · Palette generator →

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