#CCD154#CCD154

#CCD154 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.3% C 0.147 H 111.3°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#CCD154
RGBrgb(204, 209, 84)
HSLhsl(62, 58%, 57%)
HSVhsv(62, 60%, 82%)
CMYKcmyk(2.4%, 0%, 59.8%, 18%)
CIE-LABlab(81.34, -17.80, 59.72)
CIE-LCHlch(81.34, 62.32, 106.60°)
OKLaboklab(83.3% -0.0535 0.1369)
OKLCHoklch(83.3% 0.147 111.3)
XYZxyz(49.3039, 59.0795, 17.1921)
Luminance0.5908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD154 #5954D1
analogous
#D19854 #CCD154 #8ED154
triadic
#CCD154 #54CCD1 #D154CC
tetradic
#CCD154 #54D198 #5954D1 #D1548E
square
#CCD154 #54D198 #5954D1 #D1548E
split-complementary
#CCD154 #548ED1 #9854D1
monochromatic
#838624 #B1B731 #CCD154 #DADE84 #E9EBB4

Accessibility & contrast

On white

1.64
#CCD154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#CCD154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD154
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD154#FFFFFF#000000##000000
##CCD1541.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C845
Deuteranopia (green-blind)
#E1CC5C
Tritanopia (blue-blind)
#D9C5B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd154;
/* rgb */ color: rgb(204, 209, 84);
/* oklch */ color: oklch(83.3% 0.147 111.3);
Tailwind
colors: {
  custom: {
    50: '#dede89',
    500: '#ccd154',
    950: '#000000',
  },
}
SCSS
$custom: #ccd154;
$custom-light: #dede89;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd154",
  "rgb": {
    "r": 204,
    "g": 209,
    "b": 84
  },
  "hsl": {
    "h": 62.4,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83295,
    "c": 0.14693,
    "h": 111.3
  },
  "luminance": 0.59078
}

Semantic roles & 50–950 ramp

primary
#CCD154
secondary
#3F3C8D
accent
#47E14D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD154

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

Preview Lab → · Contrast checker → · Palette generator →

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