#CCD348#CCD348

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

Color values

HEX#CCD348
RGBrgb(204, 211, 72)
HSLhsl(63, 61%, 55%)
HSVhsv(63, 66%, 83%)
CMYKcmyk(3.3%, 0%, 65.9%, 17.3%)
CIE-LABlab(81.78, -19.55, 65.09)
CIE-LCHlch(81.78, 67.96, 106.72°)
OKLaboklab(83.62% -0.0596 0.1465)
OKLCHoklch(83.62% 0.158 112.1)
XYZxyz(49.3672, 59.8949, 15.0899)
Luminance0.5989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD348 #4F48D3
analogous
#D39548 #CCD348 #86D348
triadic
#CCD348 #48CCD3 #D348CC
tetradic
#CCD348 #48D395 #4F48D3 #D34886
square
#CCD348 #48D395 #4F48D3 #D34886
split-complementary
#CCD348 #4886D3 #9548D3
monochromatic
#7D811F #ACB32B #CCD348 #DADF79 #E7EBAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD348#FFFFFF#000000##000000
##CCD3481.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)
#E3CA34
Deuteranopia (green-blind)
#E3CD52
Tritanopia (blue-blind)
#D9C7B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd348;
/* rgb */ color: rgb(204, 211, 72);
/* oklch */ color: oklch(83.6% 0.158 112.1);
Tailwind
colors: {
  custom: {
    50: '#dfe082',
    500: '#ccd348',
    950: '#000000',
  },
}
SCSS
$custom: #ccd348;
$custom-light: #dfe082;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd348",
  "rgb": {
    "r": 204,
    "g": 211,
    "b": 72
  },
  "hsl": {
    "h": 63.022,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83621,
    "c": 0.15814,
    "h": 112.1
  },
  "luminance": 0.59894
}

Semantic roles & 50–950 ramp

primary
#CCD348
secondary
#3B3789
accent
#43E44C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD348

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

Preview Lab → · Contrast checker → · Palette generator →

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