#CCD46F#CCD46F

#CCD46F is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.2% C 0.126 H 112.8°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#CCD46F
RGBrgb(204, 212, 111)
HSLhsl(65, 54%, 63%)
HSVhsv(65, 48%, 83%)
CMYKcmyk(3.8%, 0%, 47.6%, 16.9%)
CIE-LABlab(82.42, -17.08, 48.67)
CIE-LCHlch(82.42, 51.58, 109.34°)
OKLaboklab(84.25% -0.0487 0.1159)
OKLCHoklch(84.25% 0.126 112.8)
XYZxyz(51.3154, 61.0729, 24.1208)
Luminance0.6107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD46F #776FD4
analogous
#D4A96F #CCD46F #99D46F
triadic
#CCD46F #6FCCD4 #D46FCC
tetradic
#CCD46F #6FD4A9 #776FD4 #D46F99
square
#CCD46F #6FD4A9 #776FD4 #D46F99
split-complementary
#CCD46F #6F99D4 #A96FD4
monochromatic
#929A2E #BBC640 #CCD46F #DDE29E #EDF0CD

Accessibility & contrast

On white

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

On black

13.21
#CCD46F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD46F
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD46F#FFFFFF#000000##000000
##CCD46F1.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC66
Deuteranopia (green-blind)
#E1CE74
Tritanopia (blue-blind)
#D7CABD
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccd46f;
/* rgb */ color: rgb(204, 212, 111);
/* oklch */ color: oklch(84.2% 0.126 112.8);
Tailwind
colors: {
  custom: {
    50: '#dde19a',
    500: '#ccd46f',
    950: '#000000',
  },
}
SCSS
$custom: #ccd46f;
$custom-light: #dde19a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd46f",
  "rgb": {
    "r": 204,
    "g": 212,
    "b": 111
  },
  "hsl": {
    "h": 64.752,
    "s": 54.011,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84248,
    "c": 0.12567,
    "h": 112.8
  },
  "luminance": 0.61072
}

Semantic roles & 50–950 ramp

primary
#CCD46F
secondary
#4F489F
accent
#24C130
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD46F

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

Preview Lab → · Contrast checker → · Palette generator →

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