#CCD165#CCD165

#CCD165 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.5% C 0.132 H 111.3°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#CCD165
RGBrgb(204, 209, 101)
HSLhsl(63, 54%, 61%)
HSVhsv(63, 52%, 82%)
CMYKcmyk(2.4%, 0%, 51.7%, 18%)
CIE-LABlab(81.50, -16.49, 52.30)
CIE-LCHlch(81.50, 54.84, 107.50°)
OKLaboklab(83.48% -0.048 0.1229)
OKLCHoklch(83.48% 0.132 111.3)
XYZxyz(50.0523, 59.3789, 21.1340)
Luminance0.5938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD165 #6A65D1
analogous
#D1A065 #CCD165 #96D165
triadic
#CCD165 #65CCD1 #D165CC
tetradic
#CCD165 #65D1A0 #6A65D1 #D16596
square
#CCD165 #65D1A0 #6A65D1 #D16596
split-complementary
#CCD165 #6596D1 #A065D1
monochromatic
#8C902B #B9C039 #CCD165 #DCDF94 #EBEDC3

Accessibility & contrast

On white

1.63
#CCD165 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#CCD165 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD165
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD165#FFFFFF#000000##000000
##CCD1651.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC95B
Deuteranopia (green-blind)
#DFCC6B
Tritanopia (blue-blind)
#D8C6B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd165;
/* rgb */ color: rgb(204, 209, 101);
/* oklch */ color: oklch(83.5% 0.132 111.3);
Tailwind
colors: {
  custom: {
    50: '#dedf94',
    500: '#ccd165',
    950: '#000000',
  },
}
SCSS
$custom: #ccd165;
$custom-light: #dedf94;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd165",
  "rgb": {
    "r": 204,
    "g": 209,
    "b": 101
  },
  "hsl": {
    "h": 62.778,
    "s": 54,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83479,
    "c": 0.13193,
    "h": 111.3
  },
  "luminance": 0.59378
}

Semantic roles & 50–950 ramp

primary
#CCD165
secondary
#484496
accent
#24C12B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD165

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

Preview Lab → · Contrast checker → · Palette generator →

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