#CCDA5F#CCDA5F

#CCDA5F is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.4% C 0.148 H 115.0°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#CCDA5F
RGBrgb(204, 218, 95)
HSLhsl(67, 62%, 61%)
HSVhsv(67, 56%, 85%)
CMYKcmyk(6.4%, 0%, 56.4%, 14.5%)
CIE-LABlab(83.87, -21.41, 57.74)
CIE-LCHlch(83.87, 61.58, 110.34°)
OKLaboklab(85.35% -0.0625 0.134)
OKLCHoklch(85.35% 0.148 115)
XYZxyz(52.0398, 63.8072, 20.3988)
Luminance0.6381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDA5F #6D5FDA
analogous
#DAAB5F #CCDA5F #8FDA5F
triadic
#CCDA5F #5FCCDA #DA5FCC
tetradic
#CCDA5F #5FDAAB #6D5FDA #DA5F8F
square
#CCDA5F #5FDAAB #6D5FDA #DA5F8F
split-complementary
#CCDA5F #5F8FDA #AB5FDA
monochromatic
#8D9B24 #BBCD2F #CCDA5F #DCE591 #ECF1C2

Accessibility & contrast

On white

1.53
#CCDA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#CCDA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDA5F
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDA5F#FFFFFF#000000##000000
##CCDA5F1.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D052
Deuteranopia (green-blind)
#E7D266
Tritanopia (blue-blind)
#D8CFBF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccda5f;
/* rgb */ color: rgb(204, 218, 95);
/* oklch */ color: oklch(85.4% 0.148 115.0);
Tailwind
colors: {
  custom: {
    50: '#dee590',
    500: '#ccda5f',
    950: '#000000',
  },
}
SCSS
$custom: #ccda5f;
$custom-light: #dee590;
$custom-dark: #000000;
JSON
{
  "hex": "#ccda5f",
  "rgb": {
    "r": 204,
    "g": 218,
    "b": 95
  },
  "hsl": {
    "h": 66.829,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8535,
    "c": 0.14785,
    "h": 115
  },
  "luminance": 0.63806
}

Semantic roles & 50–950 ramp

primary
#CCDA5F
secondary
#493E9F
accent
#1BCA2F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCDA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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