#CCD167#CCD167

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

Color values

HEX#CCD167
RGBrgb(204, 209, 103)
HSLhsl(63, 54%, 61%)
HSVhsv(63, 51%, 82%)
CMYKcmyk(2.4%, 0%, 50.7%, 18%)
CIE-LABlab(81.52, -16.32, 51.39)
CIE-LCHlch(81.52, 53.92, 107.61°)
OKLaboklab(83.5% -0.0473 0.1211)
OKLCHoklch(83.5% 0.13 111.3)
XYZxyz(50.1515, 59.4186, 21.6564)
Luminance0.5942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD167 #6C67D1
analogous
#D1A167 #CCD167 #97D167
triadic
#CCD167 #67CCD1 #D167CC
tetradic
#CCD167 #67D1A1 #6C67D1 #D16797
square
#CCD167 #67D1A1 #6C67D1 #D16797
split-complementary
#CCD167 #6797D1 #A167D1
monochromatic
#8D922C #BAC13A #CCD167 #DCDF96 #ECEDC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD167#FFFFFF#000000##000000
##CCD1671.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)
#DFC95D
Deuteranopia (green-blind)
#DFCC6D
Tritanopia (blue-blind)
#D8C6B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd167;
/* rgb */ color: rgb(204, 209, 103);
/* oklch */ color: oklch(83.5% 0.130 111.3);
Tailwind
colors: {
  custom: {
    50: '#dddf95',
    500: '#ccd167',
    950: '#000000',
  },
}
SCSS
$custom: #ccd167;
$custom-light: #dddf95;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd167",
  "rgb": {
    "r": 204,
    "g": 209,
    "b": 103
  },
  "hsl": {
    "h": 62.83,
    "s": 53.535,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83503,
    "c": 0.13002,
    "h": 111.3
  },
  "luminance": 0.59418
}

Semantic roles & 50–950 ramp

primary
#CCD167
secondary
#494597
accent
#25C12C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD167

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

Preview Lab → · Contrast checker → · Palette generator →

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