#CCD95A#CCD95A

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

Color values

HEX#CCD95A
RGBrgb(204, 217, 90)
HSLhsl(66, 63%, 60%)
HSVhsv(66, 59%, 85%)
CMYKcmyk(6%, 0%, 58.5%, 14.9%)
CIE-LABlab(83.55, -21.30, 59.57)
CIE-LCHlch(83.55, 63.27, 109.68°)
OKLaboklab(85.08% -0.0627 0.1373)
OKLCHoklch(85.08% 0.151 114.6)
XYZxyz(51.5613, 63.2021, 19.1539)
Luminance0.6320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD95A #675AD9
analogous
#D9A75A #CCD95A #8CD95A
triadic
#CCD95A #5ACCD9 #D95ACC
tetradic
#CCD95A #5AD9A7 #675AD9 #D95A8C
square
#CCD95A #5AD9A7 #675AD9 #D95A8C
split-complementary
#CCD95A #5A8CD9 #A75AD9
monochromatic
#8A9623 #B8C82E #CCD95A #DBE48C #EBF0BD

Accessibility & contrast

On white

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

On black

13.64
#CCD95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD95A
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD95A#FFFFFF#000000##000000
##CCD95A1.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4C
Deuteranopia (green-blind)
#E7D162
Tritanopia (blue-blind)
#D8CDBE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd95a;
/* rgb */ color: rgb(204, 217, 90);
/* oklch */ color: oklch(85.1% 0.151 114.6);
Tailwind
colors: {
  custom: {
    50: '#dee48d',
    500: '#ccd95a',
    950: '#000000',
  },
}
SCSS
$custom: #ccd95a;
$custom-light: #dee48d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd95a",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 90
  },
  "hsl": {
    "h": 66.142,
    "s": 62.562,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85082,
    "c": 0.15095,
    "h": 114.6
  },
  "luminance": 0.63201
}

Semantic roles & 50–950 ramp

primary
#CCD95A
secondary
#463C9B
accent
#1BCA2D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD95A

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

Preview Lab → · Contrast checker → · Palette generator →

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