#CCD28F#CCD28F

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

Color values

HEX#CCD28F
RGBrgb(204, 210, 143)
HSLhsl(65, 43%, 69%)
HSVhsv(65, 32%, 82%)
CMYKcmyk(2.9%, 0%, 31.9%, 17.6%)
CIE-LABlab(82.33, -12.55, 32.60)
CIE-LCHlch(82.33, 34.93, 111.05°)
OKLaboklab(84.33% -0.0334 0.081)
OKLCHoklch(84.33% 0.088 112.4)
XYZxyz(52.9065, 60.9144, 34.9518)
Luminance0.6091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD28F #958FD2
analogous
#D2B78F #CCD28F #ABD28F
triadic
#CCD28F #8FCCD2 #D28FCC
tetradic
#CCD28F #8FD2B7 #958FD2 #D28FAB
square
#CCD28F #8FD2B7 #958FD2 #D28FAB
split-complementary
#CCD28F #8FABD2 #B78FD2
monochromatic
#9CA542 #B8C063 #CCD28F #E0E4BB #F4F5E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD28F#FFFFFF#000000##000000
##CCD28F1.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)
#DCCC8A
Deuteranopia (green-blind)
#DCCE92
Tritanopia (blue-blind)
#D4CAC1
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccd28f;
/* rgb */ color: rgb(204, 210, 143);
/* oklch */ color: oklch(84.3% 0.088 112.4);
Tailwind
colors: {
  custom: {
    50: '#dcdfb0',
    500: '#ccd28f',
    950: '#000000',
  },
}
SCSS
$custom: #ccd28f;
$custom-light: #dcdfb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd28f",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 143
  },
  "hsl": {
    "h": 65.373,
    "s": 42.675,
    "l": 69.216
  },
  "oklch": {
    "l": 0.84327,
    "c": 0.08764,
    "h": 112.4
  },
  "luminance": 0.60914
}

Semantic roles & 50–950 ramp

primary
#CCD28F
secondary
#645DA8
accent
#30B63C
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCD28F

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

Preview Lab → · Contrast checker → · Palette generator →

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