#CCD95F#CCD95F

#CCD95F is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.1% C 0.147 H 114.6°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#CCD95F
RGBrgb(204, 217, 95)
HSLhsl(66, 62%, 61%)
HSVhsv(66, 56%, 85%)
CMYKcmyk(6%, 0%, 56.2%, 14.9%)
CIE-LABlab(83.59, -20.92, 57.44)
CIE-LCHlch(83.59, 61.13, 110.02°)
OKLaboklab(85.13% -0.0611 0.1333)
OKLCHoklch(85.13% 0.147 114.6)
XYZxyz(51.7813, 63.2901, 20.3127)
Luminance0.6329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD95F #6C5FD9
analogous
#D9A95F #CCD95F #8FD95F
triadic
#CCD95F #5FCCD9 #D95FCC
tetradic
#CCD95F #5FD9A9 #6C5FD9 #D95F8F
square
#CCD95F #5FD9A9 #6C5FD9 #D95F8F
split-complementary
#CCD95F #5F8FD9 #A95FD9
monochromatic
#8D9924 #BACB30 #CCD95F #DCE590 #ECF0C2

Accessibility & contrast

On white

1.54
#CCD95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#CCD95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD95F
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD95F#FFFFFF#000000##000000
##CCD95F1.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF52
Deuteranopia (green-blind)
#E6D266
Tritanopia (blue-blind)
#D8CEBE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd95f;
/* rgb */ color: rgb(204, 217, 95);
/* oklch */ color: oklch(85.1% 0.147 114.6);
Tailwind
colors: {
  custom: {
    50: '#dee490',
    500: '#ccd95f',
    950: '#000000',
  },
}
SCSS
$custom: #ccd95f;
$custom-light: #dee490;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd95f",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 66.393,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.85134,
    "c": 0.14667,
    "h": 114.6
  },
  "luminance": 0.63289
}

Semantic roles & 50–950 ramp

primary
#CCD95F
secondary
#493F9E
accent
#1CC92F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD95F

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

Preview Lab → · Contrast checker → · Palette generator →

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