#CCD75F#CCD75F

#CCD75F is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.7% C 0.144 H 113.9°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#CCD75F
RGBrgb(204, 215, 95)
HSLhsl(66, 60%, 61%)
HSVhsv(66, 56%, 84%)
CMYKcmyk(5.1%, 0%, 55.8%, 15.7%)
CIE-LABlab(83.05, -19.95, 56.83)
CIE-LCHlch(83.05, 60.22, 109.34°)
OKLaboklab(84.7% -0.0584 0.132)
OKLCHoklch(84.7% 0.144 113.9)
XYZxyz(51.2689, 62.2653, 20.1419)
Luminance0.6226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD75F #6A5FD7
analogous
#D7A65F #CCD75F #90D75F
triadic
#CCD75F #5FCCD7 #D75FCC
tetradic
#CCD75F #5FD7A6 #6A5FD7 #D75F90
square
#CCD75F #5FD7A6 #6A5FD7 #D75F90
split-complementary
#CCD75F #5F90D7 #A65FD7
monochromatic
#8C9626 #B9C732 #CCD75F #DCE390 #EBEFC1

Accessibility & contrast

On white

1.56
#CCD75F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#CCD75F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD75F
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD75F#FFFFFF#000000##000000
##CCD75F1.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE52
Deuteranopia (green-blind)
#E5D066
Tritanopia (blue-blind)
#D8CCBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd75f;
/* rgb */ color: rgb(204, 215, 95);
/* oklch */ color: oklch(84.7% 0.144 113.9);
Tailwind
colors: {
  custom: {
    50: '#dee390',
    500: '#ccd75f',
    950: '#000000',
  },
}
SCSS
$custom: #ccd75f;
$custom-light: #dee390;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd75f",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 95
  },
  "hsl": {
    "h": 65.5,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84701,
    "c": 0.14436,
    "h": 113.9
  },
  "luminance": 0.62264
}

Semantic roles & 50–950 ramp

primary
#CCD75F
secondary
#483F9B
accent
#1EC82D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD75F

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

Preview Lab → · Contrast checker → · Palette generator →

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