#CCDA7D#CCDA7D

#CCDA7D is a very light, moderate yellow. Relative luminance 0.645; OKLCH L 85.7% C 0.119 H 116.0°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#CCDA7D
RGBrgb(204, 218, 125)
HSLhsl(69, 56%, 67%)
HSVhsv(69, 43%, 85%)
CMYKcmyk(6.4%, 0%, 42.7%, 14.5%)
CIE-LABlab(84.21, -18.64, 44.07)
CIE-LCHlch(84.21, 47.85, 112.92°)
OKLaboklab(85.73% -0.0519 0.1066)
OKLCHoklch(85.73% 0.119 116)
XYZxyz(53.6754, 64.4614, 29.0127)
Luminance0.6446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDA7D #8B7DDA
analogous
#DAB97D #CCDA7D #9EDA7D
triadic
#CCDA7D #7DCCDA #DA7DCC
tetradic
#CCDA7D #7DDAB9 #8B7DDA #DA7D9E
square
#CCDA7D #7DDAB9 #8B7DDA #DA7D9E
split-complementary
#CCDA7D #7D9EDA #B97DDA
monochromatic
#99AC31 #B9CC4D #CCDA7D #DFE8AD #F1F5DC

Accessibility & contrast

On white

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

On black

13.89
#CCDA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDA7D
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDA7D#FFFFFF#000000##000000
##CCDA7D1.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D176
Deuteranopia (green-blind)
#E4D382
Tritanopia (blue-blind)
#D5D1C4
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ccda7d;
/* rgb */ color: rgb(204, 218, 125);
/* oklch */ color: oklch(85.7% 0.119 116.0);
Tailwind
colors: {
  custom: {
    50: '#dde5a4',
    500: '#ccda7d',
    950: '#000000',
  },
}
SCSS
$custom: #ccda7d;
$custom-light: #dde5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccda7d",
  "rgb": {
    "r": 204,
    "g": 218,
    "b": 125
  },
  "hsl": {
    "h": 69.032,
    "s": 55.689,
    "l": 67.255
  },
  "oklch": {
    "l": 0.85732,
    "c": 0.11854,
    "h": 116
  },
  "luminance": 0.64461
}

Semantic roles & 50–950 ramp

primary
#CCDA7D
secondary
#5B4DAF
accent
#22C33B
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CCDA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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