#CCD28E#CCD28E

#CCD28E is a very light, moderate yellow. Relative luminance 0.609; OKLCH L 84.3% C 0.089 H 112.4°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#CCD28E
RGBrgb(204, 210, 142)
HSLhsl(65, 43%, 69%)
HSVhsv(65, 32%, 82%)
CMYKcmyk(2.9%, 0%, 32.4%, 17.6%)
CIE-LABlab(82.32, -12.67, 33.09)
CIE-LCHlch(82.32, 35.43, 110.95°)
OKLaboklab(84.31% -0.0339 0.0821)
OKLCHoklch(84.31% 0.089 112.4)
XYZxyz(52.8311, 60.8842, 34.5546)
Luminance0.6088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD28E #948ED2
analogous
#D2B68E #CCD28E #AAD28E
triadic
#CCD28E #8ECCD2 #D28ECC
tetradic
#CCD28E #8ED2B6 #948ED2 #D28EAA
square
#CCD28E #8ED2B6 #948ED2 #D28EAA
split-complementary
#CCD28E #8EAAD2 #B68ED2
monochromatic
#9BA441 #B8C162 #CCD28E #E0E3BA #F4F5E6

Accessibility & contrast

On white

1.59
#CCD28E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.18
#CCD28E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD28E
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD28E#FFFFFF#000000##000000
##CCD28E1.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCC89
Deuteranopia (green-blind)
#DCCE91
Tritanopia (blue-blind)
#D4CAC1
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccd28e;
/* rgb */ color: rgb(204, 210, 142);
/* oklch */ color: oklch(84.3% 0.089 112.4);
Tailwind
colors: {
  custom: {
    50: '#dcdfaf',
    500: '#ccd28e',
    950: '#000000',
  },
}
SCSS
$custom: #ccd28e;
$custom-light: #dcdfaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd28e",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 142
  },
  "hsl": {
    "h": 65.294,
    "s": 43.038,
    "l": 69.02
  },
  "oklch": {
    "l": 0.84308,
    "c": 0.08884,
    "h": 112.4
  },
  "luminance": 0.60884
}

Semantic roles & 50–950 ramp

primary
#CCD28E
secondary
#635CA8
accent
#2FB63B
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCD28E

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

Preview Lab → · Contrast checker → · Palette generator →

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