#CCD273#CCD273

#CCD273 is a very light, moderate yellow. Relative luminance 0.602; OKLCH L 83.9% C 0.119 H 111.9°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#CCD273
RGBrgb(204, 210, 115)
HSLhsl(64, 51%, 64%)
HSVhsv(64, 45%, 82%)
CMYKcmyk(2.9%, 0%, 45.2%, 17.6%)
CIE-LABlab(81.93, -15.70, 46.15)
CIE-LCHlch(81.93, 48.74, 108.79°)
OKLaboklab(83.88% -0.0444 0.1106)
OKLCHoklch(83.88% 0.119 111.9)
XYZxyz(51.0437, 60.1693, 25.1412)
Luminance0.6017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD273 #7973D2
analogous
#D2A873 #CCD273 #9CD273
triadic
#CCD273 #73CCD2 #D273CC
tetradic
#CCD273 #73D2A8 #7973D2 #D2739C
square
#CCD273 #73D2A8 #7973D2 #D2739C
split-complementary
#CCD273 #739CD2 #A873D2
monochromatic
#939931 #BBC345 #CCD273 #DDE1A1 #EEF0D0

Accessibility & contrast

On white

1.61
#CCD273 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#CCD273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD273
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD273#FFFFFF#000000##000000
##CCD2731.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCA6B
Deuteranopia (green-blind)
#DFCD78
Tritanopia (blue-blind)
#D7C8BC
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ccd273;
/* rgb */ color: rgb(204, 210, 115);
/* oklch */ color: oklch(83.9% 0.119 111.9);
Tailwind
colors: {
  custom: {
    50: '#dddf9d',
    500: '#ccd273',
    950: '#000000',
  },
}
SCSS
$custom: #ccd273;
$custom-light: #dddf9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd273",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 115
  },
  "hsl": {
    "h": 63.789,
    "s": 51.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.83875,
    "c": 0.11915,
    "h": 111.9
  },
  "luminance": 0.60168
}

Semantic roles & 50–950 ramp

primary
#CCD273
secondary
#504B9F
accent
#27BF30
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD273

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

Preview Lab → · Contrast checker → · Palette generator →

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