#CCD279#CCD279

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

Color values

HEX#CCD279
RGBrgb(204, 210, 121)
HSLhsl(64, 50%, 65%)
HSVhsv(64, 42%, 82%)
CMYKcmyk(2.9%, 0%, 42.4%, 17.6%)
CIE-LABlab(82.01, -15.09, 43.30)
CIE-LCHlch(82.01, 45.85, 109.21°)
OKLaboklab(83.96% -0.0421 0.1046)
OKLCHoklch(83.96% 0.113 111.9)
XYZxyz(51.4003, 60.3119, 27.0191)
Luminance0.6031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD279 #7F79D2
analogous
#D2AC79 #CCD279 #9FD279
triadic
#CCD279 #79CCD2 #D279CC
tetradic
#CCD279 #79D2AC #7F79D2 #D2799F
square
#CCD279 #79D2AC #7F79D2 #D2799F
split-complementary
#CCD279 #799FD2 #AC79D2
monochromatic
#959C34 #BBC34B #CCD279 #DDE1A7 #EFF1D5

Accessibility & contrast

On white

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

On black

13.06
#CCD279 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD279
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD279#FFFFFF#000000##000000
##CCD2791.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECB72
Deuteranopia (green-blind)
#DECD7D
Tritanopia (blue-blind)
#D6C8BD
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ccd279;
/* rgb */ color: rgb(204, 210, 121);
/* oklch */ color: oklch(84.0% 0.113 111.9);
Tailwind
colors: {
  custom: {
    50: '#dddfa1',
    500: '#ccd279',
    950: '#000000',
  },
}
SCSS
$custom: #ccd279;
$custom-light: #dddfa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd279",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 121
  },
  "hsl": {
    "h": 64.045,
    "s": 49.721,
    "l": 64.902
  },
  "oklch": {
    "l": 0.83962,
    "c": 0.11277,
    "h": 111.9
  },
  "luminance": 0.60311
}

Semantic roles & 50–950 ramp

primary
#CCD279
secondary
#544EA1
accent
#28BD32
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCD279

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

Preview Lab → · Contrast checker → · Palette generator →

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