#CCD374#CCD374

#CCD374 is a very light, moderate yellow. Relative luminance 0.607; OKLCH L 84.1% C 0.119 H 112.4°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#CCD374
RGBrgb(204, 211, 116)
HSLhsl(64, 52%, 64%)
HSVhsv(64, 45%, 83%)
CMYKcmyk(3.3%, 0%, 45%, 17.3%)
CIE-LABlab(82.21, -16.10, 46.00)
CIE-LCHlch(82.21, 48.74, 109.28°)
OKLaboklab(84.1% -0.0454 0.1103)
OKLCHoklch(84.1% 0.119 112.4)
XYZxyz(51.3492, 60.6877, 25.5285)
Luminance0.6069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD374 #7B74D3
analogous
#D3AB74 #CCD374 #9DD374
triadic
#CCD374 #74CCD3 #D374CC
tetradic
#CCD374 #74D3AB #7B74D3 #D3749D
square
#CCD374 #74D3AB #7B74D3 #D3749D
split-complementary
#CCD374 #749DD3 #AB74D3
monochromatic
#949B31 #BBC446 #CCD374 #DDE2A2 #EEF0D1

Accessibility & contrast

On white

1.60
#CCD374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.14
#CCD374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD374
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD374#FFFFFF#000000##000000
##CCD3741.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB6C
Deuteranopia (green-blind)
#E0CE79
Tritanopia (blue-blind)
#D7C9BD
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ccd374;
/* rgb */ color: rgb(204, 211, 116);
/* oklch */ color: oklch(84.1% 0.119 112.4);
Tailwind
colors: {
  custom: {
    50: '#dde09e',
    500: '#ccd374',
    950: '#000000',
  },
}
SCSS
$custom: #ccd374;
$custom-light: #dde09e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd374",
  "rgb": {
    "r": 204,
    "g": 211,
    "b": 116
  },
  "hsl": {
    "h": 64.421,
    "s": 51.913,
    "l": 64.118
  },
  "oklch": {
    "l": 0.84103,
    "c": 0.11931,
    "h": 112.4
  },
  "luminance": 0.60687
}

Semantic roles & 50–950 ramp

primary
#CCD374
secondary
#514BA0
accent
#26BF31
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD374

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

Preview Lab → · Contrast checker → · Palette generator →

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