#CCD18A#CCD18A

#CCD18A is a very light, moderate yellow. Relative luminance 0.603; OKLCH L 84.0% C 0.092 H 111.6°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#CCD18A
RGBrgb(204, 209, 138)
HSLhsl(64, 44%, 68%)
HSVhsv(64, 34%, 82%)
CMYKcmyk(2.4%, 0%, 34%, 18%)
CIE-LABlab(81.99, -12.66, 34.71)
CIE-LCHlch(81.99, 36.95, 110.04°)
OKLaboklab(84.03% -0.034 0.0858)
OKLCHoklch(84.03% 0.092 111.6)
XYZxyz(52.2900, 60.2740, 32.9193)
Luminance0.6027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD18A #8F8AD1
analogous
#D1B28A #CCD18A #A8D18A
triadic
#CCD18A #8ACCD1 #D18ACC
tetradic
#CCD18A #8AD1B2 #8F8AD1 #D18AA8
square
#CCD18A #8AD1B2 #8F8AD1 #D18AA8
split-complementary
#CCD18A #8AA8D1 #B28AD1
monochromatic
#9AA13F #B9C05E #CCD18A #DFE2B6 #F2F4E2

Accessibility & contrast

On white

1.61
#CCD18A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.05
#CCD18A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD18A
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD18A#FFFFFF#000000##000000
##CCD18A1.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCB85
Deuteranopia (green-blind)
#DCCD8D
Tritanopia (blue-blind)
#D5C9BF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ccd18a;
/* rgb */ color: rgb(204, 209, 138);
/* oklch */ color: oklch(84.0% 0.092 111.6);
Tailwind
colors: {
  custom: {
    50: '#dcdfad',
    500: '#ccd18a',
    950: '#000000',
  },
}
SCSS
$custom: #ccd18a;
$custom-light: #dcdfad;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd18a",
  "rgb": {
    "r": 204,
    "g": 209,
    "b": 138
  },
  "hsl": {
    "h": 64.225,
    "s": 43.558,
    "l": 68.039
  },
  "oklch": {
    "l": 0.84026,
    "c": 0.09228,
    "h": 111.6
  },
  "luminance": 0.60273
}

Semantic roles & 50–950 ramp

primary
#CCD18A
secondary
#5E59A6
accent
#2FB738
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCD18A

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

Preview Lab → · Contrast checker → · Palette generator →

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