#CCD25F#CCD25F

#CCD25F is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.6% C 0.139 H 111.8°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#CCD25F
RGBrgb(204, 210, 95)
HSLhsl(63, 56%, 60%)
HSVhsv(63, 55%, 82%)
CMYKcmyk(2.9%, 0%, 54.8%, 17.6%)
CIE-LABlab(81.71, -17.48, 55.30)
CIE-LCHlch(81.71, 57.99, 107.54°)
OKLaboklab(83.62% -0.0514 0.1287)
OKLCHoklch(83.62% 0.139 111.8)
XYZxyz(50.0151, 59.7578, 19.7240)
Luminance0.5976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD25F #655FD2
analogous
#D29E5F #CCD25F #93D25F
triadic
#CCD25F #5FCCD2 #D25FCC
tetradic
#CCD25F #5FD29E #655FD2 #D25F93
square
#CCD25F #5FD29E #655FD2 #D25F93
split-complementary
#CCD25F #5F93D2 #9E5FD2
monochromatic
#898F28 #B7BE36 #CCD25F #DBDF8F #EAEDBF

Accessibility & contrast

On white

1.62
#CCD25F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#CCD25F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD25F
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD25F#FFFFFF#000000##000000
##CCD25F1.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C953
Deuteranopia (green-blind)
#E1CD65
Tritanopia (blue-blind)
#D8C7B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd25f;
/* rgb */ color: rgb(204, 210, 95);
/* oklch */ color: oklch(83.6% 0.139 111.8);
Tailwind
colors: {
  custom: {
    50: '#dedf90',
    500: '#ccd25f',
    950: '#000000',
  },
}
SCSS
$custom: #ccd25f;
$custom-light: #dedf90;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd25f",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 95
  },
  "hsl": {
    "h": 63.13,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83624,
    "c": 0.13863,
    "h": 111.8
  },
  "luminance": 0.59757
}

Semantic roles & 50–950 ramp

primary
#CCD25F
secondary
#454194
accent
#48DF50
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD25F

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

Preview Lab → · Contrast checker → · Palette generator →

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