#CCD046#CCD046

#CCD046 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.0% C 0.156 H 111.0°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#CCD046
RGBrgb(204, 208, 70)
HSLhsl(62, 59%, 55%)
HSVhsv(62, 66%, 82%)
CMYKcmyk(1.9%, 0%, 66.3%, 18.4%)
CIE-LABlab(80.96, -18.19, 65.02)
CIE-LCHlch(80.96, 67.52, 105.63°)
OKLaboklab(82.96% -0.056 0.146)
OKLCHoklch(82.96% 0.156 111)
XYZxyz(48.5647, 58.3925, 14.5058)
Luminance0.5839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD046 #4A46D0
analogous
#D08F46 #CCD046 #87D046
triadic
#CCD046 #46CCD0 #D046CC
tetradic
#CCD046 #46D08F #4A46D0 #D04687
square
#CCD046 #46D08F #4A46D0 #D04687
split-complementary
#CCD046 #4687D0 #8F46D0
monochromatic
#797C20 #A9AD2C #CCD046 #D9DC77 #E7E9A8

Accessibility & contrast

On white

1.66
#CCD046 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#CCD046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD046
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD046#FFFFFF#000000##000000
##CCD0461.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C732
Deuteranopia (green-blind)
#E1CB50
Tritanopia (blue-blind)
#DAC3B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ccd046;
/* rgb */ color: rgb(204, 208, 70);
/* oklch */ color: oklch(83.0% 0.156 111.0);
Tailwind
colors: {
  custom: {
    50: '#dfde81',
    500: '#ccd046',
    950: '#000000',
  },
}
SCSS
$custom: #ccd046;
$custom-light: #dfde81;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd046",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 70
  },
  "hsl": {
    "h": 61.739,
    "s": 59.483,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82957,
    "c": 0.15638,
    "h": 111
  },
  "luminance": 0.58391
}

Semantic roles & 50–950 ramp

primary
#CCD046
secondary
#393684
accent
#45E34A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD046

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

Preview Lab → · Contrast checker → · Palette generator →

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