#CCD792#CCD792

#CCD792 is a very light, moderate yellow. Relative luminance 0.635; OKLCH L 85.4% C 0.091 H 115.7°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#CCD792
RGBrgb(204, 215, 146)
HSLhsl(70, 46%, 71%)
HSVhsv(70, 32%, 84%)
CMYKcmyk(5.1%, 0%, 32.1%, 15.7%)
CIE-LABlab(83.71, -14.68, 32.88)
CIE-LCHlch(83.71, 36.01, 114.06°)
OKLaboklab(85.44% -0.0394 0.0818)
OKLCHoklch(85.44% 0.091 115.7)
XYZxyz(54.3906, 63.5140, 36.5827)
Luminance0.6351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD792 #9D92D7
analogous
#D7BF92 #CCD792 #A9D792
triadic
#CCD792 #92CCD7 #D792CC
tetradic
#CCD792 #92D7BF #9D92D7 #D792A9
square
#CCD792 #92D7BF #9D92D7 #D792A9
split-complementary
#CCD792 #92A9D7 #BF92D7
monochromatic
#9DAF40 #B7C765 #CCD792 #E1E7BF #F5F7E9

Accessibility & contrast

On white

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

On black

13.70
#CCD792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD792
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD792#FFFFFF#000000##000000
##CCD7921.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D08D
Deuteranopia (green-blind)
#DFD195
Tritanopia (blue-blind)
#D3D0C5
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccd792;
/* rgb */ color: rgb(204, 215, 146);
/* oklch */ color: oklch(85.4% 0.091 115.7);
Tailwind
colors: {
  custom: {
    50: '#dce3b2',
    500: '#ccd792',
    950: '#000000',
  },
}
SCSS
$custom: #ccd792;
$custom-light: #dce3b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd792",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 146
  },
  "hsl": {
    "h": 69.565,
    "s": 46.309,
    "l": 70.784
  },
  "oklch": {
    "l": 0.8544,
    "c": 0.09075,
    "h": 115.7
  },
  "luminance": 0.63514
}

Semantic roles & 50–950 ramp

primary
#CCD792
secondary
#6C60AE
accent
#2CBA43
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCD792

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

Preview Lab → · Contrast checker → · Palette generator →

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