#CCD347#CCD347

#CCD347 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.6% C 0.159 H 112.1°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#CCD347
RGBrgb(204, 211, 71)
HSLhsl(63, 61%, 55%)
HSVhsv(63, 66%, 83%)
CMYKcmyk(3.3%, 0%, 66.4%, 17.3%)
CIE-LABlab(81.77, -19.61, 65.47)
CIE-LCHlch(81.77, 68.34, 106.68°)
OKLaboklab(83.61% -0.0599 0.1471)
OKLCHoklch(83.61% 0.159 112.1)
XYZxyz(49.3349, 59.8820, 14.9195)
Luminance0.5988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD347 #4E47D3
analogous
#D39447 #CCD347 #86D347
triadic
#CCD347 #47CCD3 #D347CC
tetradic
#CCD347 #47D394 #4E47D3 #D34786
square
#CCD347 #47D394 #4E47D3 #D34786
split-complementary
#CCD347 #4786D3 #9447D3
monochromatic
#7C811F #ABB22B #CCD347 #DADF78 #E7EBAA

Accessibility & contrast

On white

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

On black

12.98
#CCD347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD347
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD347#FFFFFF#000000##000000
##CCD3471.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA33
Deuteranopia (green-blind)
#E3CD51
Tritanopia (blue-blind)
#D9C7B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd347;
/* rgb */ color: rgb(204, 211, 71);
/* oklch */ color: oklch(83.6% 0.159 112.1);
Tailwind
colors: {
  custom: {
    50: '#dfe082',
    500: '#ccd347',
    950: '#000000',
  },
}
SCSS
$custom: #ccd347;
$custom-light: #dfe082;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd347",
  "rgb": {
    "r": 204,
    "g": 211,
    "b": 71
  },
  "hsl": {
    "h": 63,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83613,
    "c": 0.15883,
    "h": 112.1
  },
  "luminance": 0.59881
}

Semantic roles & 50–950 ramp

primary
#CCD347
secondary
#3A3688
accent
#43E54B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD347

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

Preview Lab → · Contrast checker → · Palette generator →

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