#CCD770#CCD770

#CCD770 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.9% C 0.128 H 114.2°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#CCD770
RGBrgb(204, 215, 112)
HSLhsl(66, 56%, 64%)
HSVhsv(66, 48%, 84%)
CMYKcmyk(5.1%, 0%, 47.9%, 15.7%)
CIE-LABlab(83.24, -18.47, 49.18)
CIE-LCHlch(83.24, 52.53, 110.58°)
OKLaboklab(84.91% -0.0525 0.117)
OKLCHoklch(84.91% 0.128 114.2)
XYZxyz(52.1277, 62.6088, 24.6648)
Luminance0.6261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD770 #7B70D7
analogous
#D7AF70 #CCD770 #99D770
triadic
#CCD770 #70CCD7 #D770CC
tetradic
#CCD770 #70D7AF #7B70D7 #D77099
square
#CCD770 #70D7AF #7B70D7 #D77099
split-complementary
#CCD770 #7099D7 #AF70D7
monochromatic
#94A02D #BBCA40 #CCD770 #DDE4A0 #EEF2D0

Accessibility & contrast

On white

1.55
#CCD770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#CCD770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD770
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD770#FFFFFF#000000##000000
##CCD7701.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CE67
Deuteranopia (green-blind)
#E3D075
Tritanopia (blue-blind)
#D7CDBF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd770;
/* rgb */ color: rgb(204, 215, 112);
/* oklch */ color: oklch(84.9% 0.128 114.2);
Tailwind
colors: {
  custom: {
    50: '#dde39b',
    500: '#ccd770',
    950: '#000000',
  },
}
SCSS
$custom: #ccd770;
$custom-light: #dde39b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd770",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 112
  },
  "hsl": {
    "h": 66.408,
    "s": 56.284,
    "l": 64.118
  },
  "oklch": {
    "l": 0.84905,
    "c": 0.1283,
    "h": 114.2
  },
  "luminance": 0.62608
}

Semantic roles & 50–950 ramp

primary
#CCD770
secondary
#5147A4
accent
#22C433
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD770

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

Preview Lab → · Contrast checker → · Palette generator →

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