#CCDA71#CCDA71

#CCDA71 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.6% C 0.131 H 115.5°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#CCDA71
RGBrgb(204, 218, 113)
HSLhsl(68, 59%, 65%)
HSVhsv(68, 48%, 85%)
CMYKcmyk(6.4%, 0%, 48.2%, 14.5%)
CIE-LABlab(84.06, -19.85, 49.69)
CIE-LCHlch(84.06, 53.51, 111.77°)
OKLaboklab(85.56% -0.0564 0.1182)
OKLCHoklch(85.56% 0.131 115.5)
XYZxyz(52.9546, 64.1731, 25.2166)
Luminance0.6417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDA71 #7F71DA
analogous
#DAB471 #CCDA71 #98DA71
triadic
#CCDA71 #71CCDA #DA71CC
tetradic
#CCDA71 #71DAB4 #7F71DA #DA7198
square
#CCDA71 #71DAB4 #7F71DA #DA7198
split-complementary
#CCDA71 #7198DA #B471DA
monochromatic
#95A52B #BBCD40 #CCDA71 #DDE7A2 #EFF3D2

Accessibility & contrast

On white

1.52
#CCDA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#CCDA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDA71
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDA71#FFFFFF#000000##000000
##CCDA711.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D168
Deuteranopia (green-blind)
#E6D377
Tritanopia (blue-blind)
#D6D0C2
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ccda71;
/* rgb */ color: rgb(204, 218, 113);
/* oklch */ color: oklch(85.6% 0.131 115.5);
Tailwind
colors: {
  custom: {
    50: '#dde59c',
    500: '#ccda71',
    950: '#000000',
  },
}
SCSS
$custom: #ccda71;
$custom-light: #dde59c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccda71",
  "rgb": {
    "r": 204,
    "g": 218,
    "b": 113
  },
  "hsl": {
    "h": 68,
    "s": 58.659,
    "l": 64.902
  },
  "oklch": {
    "l": 0.85564,
    "c": 0.13099,
    "h": 115.5
  },
  "luminance": 0.64172
}

Semantic roles & 50–950 ramp

primary
#CCDA71
secondary
#5446A9
accent
#1FC635
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCDA71

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

Preview Lab → · Contrast checker → · Palette generator →

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