#CCDA46#CCDA46

#CCDA46 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.1% C 0.167 H 114.7°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#CCDA46
RGBrgb(204, 218, 70)
HSLhsl(66, 67%, 56%)
HSVhsv(66, 68%, 85%)
CMYKcmyk(6.4%, 0%, 67.9%, 14.5%)
CIE-LABlab(83.66, -23.08, 67.76)
CIE-LCHlch(83.66, 71.58, 108.81°)
OKLaboklab(85.13% -0.0697 0.1518)
OKLCHoklch(85.13% 0.167 114.7)
XYZxyz(51.0801, 63.4233, 15.3442)
Luminance0.6342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDA46 #5446DA
analogous
#DA9E46 #CCDA46 #82DA46
triadic
#CCDA46 #46CCDA #DA46CC
tetradic
#CCDA46 #46DA9E #5446DA #DA4682
square
#CCDA46 #46DA9E #5446DA #DA4682
split-complementary
#CCDA46 #4682DA #9E46DA
monochromatic
#808A1C #AFBD26 #CCDA46 #DAE479 #E8EEAC

Accessibility & contrast

On white

1.53
#CCDA46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#CCDA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDA46
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDA46#FFFFFF#000000##000000
##CCDA461.001.5313.6813.68
#FFFFFF1.531.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF2F
Deuteranopia (green-blind)
#E9D251
Tritanopia (blue-blind)
#D9CEBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccda46;
/* rgb */ color: rgb(204, 218, 70);
/* oklch */ color: oklch(85.1% 0.167 114.7);
Tailwind
colors: {
  custom: {
    50: '#dfe582',
    500: '#ccda46',
    950: '#000000',
  },
}
SCSS
$custom: #ccda46;
$custom-light: #dfe582;
$custom-dark: #000000;
JSON
{
  "hex": "#ccda46",
  "rgb": {
    "r": 204,
    "g": 218,
    "b": 70
  },
  "hsl": {
    "h": 65.676,
    "s": 66.667,
    "l": 56.471
  },
  "oklch": {
    "l": 0.85125,
    "c": 0.16701,
    "h": 114.7
  },
  "luminance": 0.63422
}

Semantic roles & 50–950 ramp

primary
#CCDA46
secondary
#3D3490
accent
#3EEA4E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCDA46

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

Preview Lab → · Contrast checker → · Palette generator →

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