#CCD334#CCD334

#CCD334 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.5% C 0.170 H 112.2°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#CCD334
RGBrgb(204, 211, 52)
HSLhsl(63, 64%, 52%)
HSVhsv(63, 75%, 83%)
CMYKcmyk(3.3%, 0%, 75.4%, 17.3%)
CIE-LABlab(81.66, -20.53, 71.98)
CIE-LCHlch(81.66, 74.85, 105.92°)
OKLaboklab(83.49% -0.0642 0.1577)
OKLCHoklch(83.49% 0.17 112.2)
XYZxyz(48.8176, 59.6750, 12.1950)
Luminance0.5967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD334 #3B34D3
analogous
#D38B34 #CCD334 #7CD334
triadic
#CCD334 #34CCD3 #D334CC
tetradic
#CCD334 #34D38B #3B34D3 #D3347C
square
#CCD334 #34D38B #3B34D3 #D3347C
split-complementary
#CCD334 #347CD3 #8B34D3
monochromatic
#707419 #A0A624 #CCD334 #D9DE66 #E5E999

Accessibility & contrast

On white

1.62
#CCD334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#CCD334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD334
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD334#FFFFFF#000000##000000
##CCD3341.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C908
Deuteranopia (green-blind)
#E4CD42
Tritanopia (blue-blind)
#DAC6B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd334;
/* rgb */ color: rgb(204, 211, 52);
/* oklch */ color: oklch(83.5% 0.170 112.2);
Tailwind
colors: {
  custom: {
    50: '#dfe078',
    500: '#ccd334',
    950: '#000000',
  },
}
SCSS
$custom: #ccd334;
$custom-light: #dfe078;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd334",
  "rgb": {
    "r": 204,
    "g": 211,
    "b": 52
  },
  "hsl": {
    "h": 62.642,
    "s": 64.372,
    "l": 51.569
  },
  "oklch": {
    "l": 0.83487,
    "c": 0.17022,
    "h": 112.2
  },
  "luminance": 0.59674
}

Semantic roles & 50–950 ramp

primary
#CCD334
secondary
#322F7C
accent
#40E748
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CCD334

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

Preview Lab → · Contrast checker → · Palette generator →

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