#CCD95C#CCD95C

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

Color values

HEX#CCD95C
RGBrgb(204, 217, 92)
HSLhsl(66, 62%, 61%)
HSVhsv(66, 58%, 85%)
CMYKcmyk(6%, 0%, 57.6%, 14.9%)
CIE-LABlab(83.57, -21.15, 58.72)
CIE-LCHlch(83.57, 62.42, 109.81°)
OKLaboklab(85.1% -0.0621 0.1357)
OKLCHoklch(85.1% 0.149 114.6)
XYZxyz(51.6475, 63.2366, 19.6083)
Luminance0.6324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD95C #695CD9
analogous
#D9A75C #CCD95C #8DD95C
triadic
#CCD95C #5CCCD9 #D95CCC
tetradic
#CCD95C #5CD9A7 #695CD9 #D95C8D
square
#CCD95C #5CD9A7 #695CD9 #D95C8D
split-complementary
#CCD95C #5C8DD9 #A75CD9
monochromatic
#8B9723 #B9C92F #CCD95C #DCE58E #EBF0BF

Accessibility & contrast

On white

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

On black

13.65
#CCD95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD95C
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD95C#FFFFFF#000000##000000
##CCD95C1.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccd95c;
/* rgb */ color: rgb(204, 217, 92);
/* oklch */ color: oklch(85.1% 0.149 114.6);
Tailwind
colors: {
  custom: {
    50: '#dee48f',
    500: '#ccd95c',
    950: '#000000',
  },
}
SCSS
$custom: #ccd95c;
$custom-light: #dee48f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd95c",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 92
  },
  "hsl": {
    "h": 66.24,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.85102,
    "c": 0.14926,
    "h": 114.6
  },
  "luminance": 0.63236
}

Semantic roles & 50–950 ramp

primary
#CCD95C
secondary
#473D9C
accent
#1CCA2E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD95C

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

Preview Lab → · Contrast checker → · Palette generator →

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