#CCD95E#CCD95E

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

Color values

HEX#CCD95E
RGBrgb(204, 217, 94)
HSLhsl(66, 62%, 61%)
HSVhsv(66, 57%, 85%)
CMYKcmyk(6%, 0%, 56.7%, 14.9%)
CIE-LABlab(83.59, -21.00, 57.87)
CIE-LCHlch(83.59, 61.56, 109.95°)
OKLaboklab(85.12% -0.0615 0.1341)
OKLCHoklch(85.12% 0.148 114.6)
XYZxyz(51.7361, 63.2720, 20.0748)
Luminance0.6327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD95E #6B5ED9
analogous
#D9A85E #CCD95E #8ED95E
triadic
#CCD95E #5ECCD9 #D95ECC
tetradic
#CCD95E #5ED9A8 #6B5ED9 #D95E8E
square
#CCD95E #5ED9A8 #6B5ED9 #D95E8E
split-complementary
#CCD95E #5E8ED9 #A85ED9
monochromatic
#8C9924 #BACA30 #CCD95E #DCE590 #EBF0C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD95E#FFFFFF#000000##000000
##CCD95E1.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)
#E7CF51
Deuteranopia (green-blind)
#E6D265
Tritanopia (blue-blind)
#D8CEBE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd95e;
/* rgb */ color: rgb(204, 217, 94);
/* oklch */ color: oklch(85.1% 0.148 114.6);
Tailwind
colors: {
  custom: {
    50: '#dee490',
    500: '#ccd95e',
    950: '#000000',
  },
}
SCSS
$custom: #ccd95e;
$custom-light: #dee490;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd95e",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 94
  },
  "hsl": {
    "h": 66.341,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85123,
    "c": 0.14754,
    "h": 114.6
  },
  "luminance": 0.63271
}

Semantic roles & 50–950 ramp

primary
#CCD95E
secondary
#483E9D
accent
#1CCA2E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD95E

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

Preview Lab → · Contrast checker → · Palette generator →

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