#CCD96B#CCD96B

#CCD96B is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.3% C 0.136 H 114.9°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#CCD96B
RGBrgb(204, 217, 107)
HSLhsl(67, 59%, 64%)
HSVhsv(67, 51%, 85%)
CMYKcmyk(6%, 0%, 50.7%, 14.9%)
CIE-LABlab(83.72, -19.91, 52.11)
CIE-LCHlch(83.72, 55.79, 110.91°)
OKLaboklab(85.27% -0.0571 0.123)
OKLCHoklch(85.27% 0.136 114.9)
XYZxyz(52.3694, 63.5253, 23.4099)
Luminance0.6352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD96B #786BD9
analogous
#D9AF6B #CCD96B #95D96B
triadic
#CCD96B #6BCCD9 #D96BCC
tetradic
#CCD96B #6BD9AF #786BD9 #D96B95
square
#CCD96B #6BD9AF #786BD9 #D96B95
split-complementary
#CCD96B #6B95D9 #AF6BD9
monochromatic
#92A029 #BBCC3A #CCD96B #DDE69C #EEF2CC

Accessibility & contrast

On white

1.53
#CCD96B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#CCD96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD96B
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD96B#FFFFFF#000000##000000
##CCD96B1.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D061
Deuteranopia (green-blind)
#E5D271
Tritanopia (blue-blind)
#D7CEC0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccd96b;
/* rgb */ color: rgb(204, 217, 107);
/* oklch */ color: oklch(85.3% 0.136 114.9);
Tailwind
colors: {
  custom: {
    50: '#dde498',
    500: '#ccd96b',
    950: '#000000',
  },
}
SCSS
$custom: #ccd96b;
$custom-light: #dde498;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd96b",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 107
  },
  "hsl": {
    "h": 67.091,
    "s": 59.14,
    "l": 63.529
  },
  "oklch": {
    "l": 0.85272,
    "c": 0.13565,
    "h": 114.9
  },
  "luminance": 0.63525
}

Semantic roles & 50–950 ramp

primary
#CCD96B
secondary
#4F44A4
accent
#1FC733
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD96B

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

Preview Lab → · Contrast checker → · Palette generator →

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