#CCD54F#CCD54F

#CCD54F is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.1% C 0.155 H 112.9°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#CCD54F
RGBrgb(204, 213, 79)
HSLhsl(64, 61%, 57%)
HSVhsv(64, 63%, 84%)
CMYKcmyk(4.2%, 0%, 62.9%, 16.5%)
CIE-LABlab(82.37, -20.11, 62.92)
CIE-LCHlch(82.37, 66.06, 107.72°)
OKLaboklab(84.11% -0.0605 0.1429)
OKLCHoklch(84.11% 0.155 112.9)
XYZxyz(50.1087, 60.9914, 16.5285)
Luminance0.6099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD54F #584FD5
analogous
#D59B4F #CCD54F #89D54F
triadic
#CCD54F #4FCCD5 #D54FCC
tetradic
#CCD54F #4FD59B #584FD5 #D54F89
square
#CCD54F #4FD59B #584FD5 #D54F89
split-complementary
#CCD54F #4F89D5 #9B4FD5
monochromatic
#828921 #B1BA2C #CCD54F #DAE180 #E9EDB2

Accessibility & contrast

On white

1.59
#CCD54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.20
#CCD54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD54F
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD54F#FFFFFF#000000##000000
##CCD54F1.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB3E
Deuteranopia (green-blind)
#E4CE58
Tritanopia (blue-blind)
#D9C9B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccd54f;
/* rgb */ color: rgb(204, 213, 79);
/* oklch */ color: oklch(84.1% 0.155 112.9);
Tailwind
colors: {
  custom: {
    50: '#dee186',
    500: '#ccd54f',
    950: '#000000',
  },
}
SCSS
$custom: #ccd54f;
$custom-light: #dee186;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd54f",
  "rgb": {
    "r": 204,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 64.03,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.84112,
    "c": 0.1552,
    "h": 112.9
  },
  "luminance": 0.6099
}

Semantic roles & 50–950 ramp

primary
#CCD54F
secondary
#3F398F
accent
#43E54E
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCD54F

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

Preview Lab → · Contrast checker → · Palette generator →

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