#CCD970#CCD970

#CCD970 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.3% C 0.131 H 115.0°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#CCD970
RGBrgb(204, 217, 112)
HSLhsl(67, 58%, 65%)
HSVhsv(67, 48%, 85%)
CMYKcmyk(6%, 0%, 48.4%, 14.9%)
CIE-LABlab(83.77, -19.45, 49.83)
CIE-LCHlch(83.77, 53.49, 111.33°)
OKLaboklab(85.34% -0.0553 0.1185)
OKLCHoklch(85.34% 0.131 115)
XYZxyz(52.6401, 63.6336, 24.8355)
Luminance0.6363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD970 #7D70D9
analogous
#D9B270 #CCD970 #97D970
triadic
#CCD970 #70CCD9 #D970CC
tetradic
#CCD970 #70D9B2 #7D70D9 #D97097
square
#CCD970 #70D9B2 #7D70D9 #D97097
split-complementary
#CCD970 #7097D9 #B270D9
monochromatic
#94A32B #BBCC40 #CCD970 #DDE6A0 #EEF3D1

Accessibility & contrast

On white

1.53
#CCD970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#CCD970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD970
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD970#FFFFFF#000000##000000
##CCD9701.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D067
Deuteranopia (green-blind)
#E5D276
Tritanopia (blue-blind)
#D6CFC1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccd970;
/* rgb */ color: rgb(204, 217, 112);
/* oklch */ color: oklch(85.3% 0.131 115.0);
Tailwind
colors: {
  custom: {
    50: '#dde49b',
    500: '#ccd970',
    950: '#000000',
  },
}
SCSS
$custom: #ccd970;
$custom-light: #dde49b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd970",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 112
  },
  "hsl": {
    "h": 67.429,
    "s": 58.011,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85336,
    "c": 0.13075,
    "h": 115
  },
  "luminance": 0.63633
}

Semantic roles & 50–950 ramp

primary
#CCD970
secondary
#5246A7
accent
#20C634
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD970

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

Preview Lab → · Contrast checker → · Palette generator →

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