#CCD296#CCD296

#CCD296 is a very light, moderate yellow. Relative luminance 0.611; OKLCH L 84.5% C 0.079 H 112.7°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#CCD296
RGBrgb(204, 210, 150)
HSLhsl(66, 40%, 71%)
HSVhsv(66, 29%, 82%)
CMYKcmyk(2.9%, 0%, 28.6%, 17.6%)
CIE-LABlab(82.45, -11.64, 29.14)
CIE-LCHlch(82.45, 31.38, 111.78°)
OKLaboklab(84.46% -0.0306 0.073)
OKLCHoklch(84.46% 0.079 112.7)
XYZxyz(53.4534, 61.1331, 37.8322)
Luminance0.6113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD296 #9C96D2
analogous
#D2BA96 #CCD296 #AED296
triadic
#CCD296 #96CCD2 #D296CC
tetradic
#CCD296 #96D2BA #9C96D2 #D296AE
square
#CCD296 #96D2BA #9C96D2 #D296AE
split-complementary
#CCD296 #96AED2 #BA96D2
monochromatic
#9DA647 #B7C06B #CCD296 #E1E4C1 #F5F6EA

Accessibility & contrast

On white

1.59
#CCD296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.23
#CCD296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD296
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD296#FFFFFF#000000##000000
##CCD2961.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCC92
Deuteranopia (green-blind)
#DBCE98
Tritanopia (blue-blind)
#D3CBC2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccd296;
/* rgb */ color: rgb(204, 210, 150);
/* oklch */ color: oklch(84.5% 0.079 112.7);
Tailwind
colors: {
  custom: {
    50: '#dcdfb5',
    500: '#ccd296',
    950: '#000000',
  },
}
SCSS
$custom: #ccd296;
$custom-light: #dcdfb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd296",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 150
  },
  "hsl": {
    "h": 66,
    "s": 40,
    "l": 70.588
  },
  "oklch": {
    "l": 0.84459,
    "c": 0.07916,
    "h": 112.7
  },
  "luminance": 0.61133
}

Semantic roles & 50–950 ramp

primary
#CCD296
secondary
#6B64A8
accent
#32B33F
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCD296

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

Preview Lab → · Contrast checker → · Palette generator →

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