#CCD370#CCD370

#CCD370 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.0% C 0.123 H 112.3°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#CCD370
RGBrgb(204, 211, 112)
HSLhsl(64, 53%, 63%)
HSVhsv(64, 47%, 83%)
CMYKcmyk(3.3%, 0%, 46.9%, 17.3%)
CIE-LABlab(82.16, -16.49, 47.88)
CIE-LCHlch(82.16, 50.64, 109.00°)
OKLaboklab(84.05% -0.0469 0.1142)
OKLCHoklch(84.05% 0.123 112.3)
XYZxyz(51.1216, 60.5966, 24.3294)
Luminance0.6060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD370 #7770D3
analogous
#D3A870 #CCD370 #9AD370
triadic
#CCD370 #70CCD3 #D370CC
tetradic
#CCD370 #70D3A8 #7770D3 #D3709A
square
#CCD370 #70D3A8 #7770D3 #D3709A
split-complementary
#CCD370 #709AD3 #A870D3
monochromatic
#92992F #BBC541 #CCD370 #DDE19F #EDF0CE

Accessibility & contrast

On white

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

On black

13.12
#CCD370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD370
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD370#FFFFFF#000000##000000
##CCD3701.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB67
Deuteranopia (green-blind)
#E0CE75
Tritanopia (blue-blind)
#D7C9BC
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ccd370;
/* rgb */ color: rgb(204, 211, 112);
/* oklch */ color: oklch(84.0% 0.123 112.3);
Tailwind
colors: {
  custom: {
    50: '#dde09b',
    500: '#ccd370',
    950: '#000000',
  },
}
SCSS
$custom: #ccd370;
$custom-light: #dde09b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd370",
  "rgb": {
    "r": 204,
    "g": 211,
    "b": 112
  },
  "hsl": {
    "h": 64.242,
    "s": 52.941,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84047,
    "c": 0.12344,
    "h": 112.3
  },
  "luminance": 0.60596
}

Semantic roles & 50–950 ramp

primary
#CCD370
secondary
#4F499E
accent
#25C030
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD370

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

Preview Lab → · Contrast checker → · Palette generator →

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