#CCD246#CCD246

#CCD246 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.4% C 0.158 H 111.8°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#CCD246
RGBrgb(204, 210, 70)
HSLhsl(63, 61%, 55%)
HSVhsv(63, 67%, 82%)
CMYKcmyk(2.9%, 0%, 66.7%, 17.6%)
CIE-LABlab(81.50, -19.18, 65.57)
CIE-LCHlch(81.50, 68.31, 106.30°)
OKLaboklab(83.39% -0.0588 0.1472)
OKLCHoklch(83.39% 0.158 111.8)
XYZxyz(49.0554, 59.3739, 14.6694)
Luminance0.5937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD246 #4C46D2
analogous
#D29246 #CCD246 #86D246
triadic
#CCD246 #46CCD2 #D246CC
tetradic
#CCD246 #46D292 #4C46D2 #D24686
square
#CCD246 #46D292 #4C46D2 #D24686
split-complementary
#CCD246 #4686D2 #9246D2
monochromatic
#7B7F1F #AAB02B #CCD246 #DADE77 #E7EAA8

Accessibility & contrast

On white

1.63
#CCD246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#CCD246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD246
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD246#FFFFFF#000000##000000
##CCD2461.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C931
Deuteranopia (green-blind)
#E2CC50
Tritanopia (blue-blind)
#DAC6B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd246;
/* rgb */ color: rgb(204, 210, 70);
/* oklch */ color: oklch(83.4% 0.158 111.8);
Tailwind
colors: {
  custom: {
    50: '#dfdf81',
    500: '#ccd246',
    950: '#000000',
  },
}
SCSS
$custom: #ccd246;
$custom-light: #dfdf81;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd246",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 70
  },
  "hsl": {
    "h": 62.571,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.83389,
    "c": 0.15847,
    "h": 111.8
  },
  "luminance": 0.59373
}

Semantic roles & 50–950 ramp

primary
#CCD246
secondary
#393686
accent
#44E44B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD246

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

Preview Lab → · Contrast checker → · Palette generator →

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