#CCDA7F#CCDA7F

#CCDA7F is a very light, moderate yellow. Relative luminance 0.645; OKLCH L 85.8% C 0.116 H 116.1°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#CCDA7F
RGBrgb(204, 218, 127)
HSLhsl(69, 55%, 68%)
HSVhsv(69, 42%, 85%)
CMYKcmyk(6.4%, 0%, 41.7%, 14.5%)
CIE-LABlab(84.23, -18.42, 43.12)
CIE-LCHlch(84.23, 46.89, 113.13°)
OKLaboklab(85.76% -0.0512 0.1045)
OKLCHoklch(85.76% 0.116 116.1)
XYZxyz(53.8044, 64.5130, 29.6924)
Luminance0.6451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDA7F #8D7FDA
analogous
#DABB7F #CCDA7F #9EDA7F
triadic
#CCDA7F #7FCCDA #DA7FCC
tetradic
#CCDA7F #7FDABB #8D7FDA #DA7F9E
square
#CCDA7F #7FDABB #8D7FDA #DA7F9E
split-complementary
#CCDA7F #7F9EDA #BB7FDA
monochromatic
#9AAD32 #B9CC50 #CCDA7F #DFE8AE #F2F5DE

Accessibility & contrast

On white

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

On black

13.90
#CCDA7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDA7F
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDA7F#FFFFFF#000000##000000
##CCDA7F1.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccda7f;
/* rgb */ color: rgb(204, 218, 127);
/* oklch */ color: oklch(85.8% 0.116 116.1);
Tailwind
colors: {
  custom: {
    50: '#dde5a5',
    500: '#ccda7f',
    950: '#000000',
  },
}
SCSS
$custom: #ccda7f;
$custom-light: #dde5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccda7f",
  "rgb": {
    "r": 204,
    "g": 218,
    "b": 127
  },
  "hsl": {
    "h": 69.231,
    "s": 55.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.85762,
    "c": 0.11639,
    "h": 116.1
  },
  "luminance": 0.64512
}

Semantic roles & 50–950 ramp

primary
#CCDA7F
secondary
#5D4EAF
accent
#23C33B
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CCDA7F

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

Preview Lab → · Contrast checker → · Palette generator →

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