#CCD261#CCD261

#CCD261 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.6% C 0.137 H 111.8°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#CCD261
RGBrgb(204, 210, 97)
HSLhsl(63, 56%, 60%)
HSVhsv(63, 54%, 82%)
CMYKcmyk(2.9%, 0%, 53.8%, 17.6%)
CIE-LABlab(81.73, -17.32, 54.41)
CIE-LCHlch(81.73, 57.10, 107.66°)
OKLaboklab(83.65% -0.0508 0.1271)
OKLCHoklch(83.65% 0.137 111.8)
XYZxyz(50.1072, 59.7946, 20.2089)
Luminance0.5979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD261 #6761D2
analogous
#D2A061 #CCD261 #93D261
triadic
#CCD261 #61CCD2 #D261CC
tetradic
#CCD261 #61D2A0 #6761D2 #D26193
square
#CCD261 #61D2A0 #6761D2 #D26193
split-complementary
#CCD261 #6193D2 #A061D2
monochromatic
#8A9029 #B8BF36 #CCD261 #DBE091 #EBEDC0

Accessibility & contrast

On white

1.62
#CCD261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#CCD261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD261
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD261#FFFFFF#000000##000000
##CCD2611.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA56
Deuteranopia (green-blind)
#E1CD67
Tritanopia (blue-blind)
#D8C7B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd261;
/* rgb */ color: rgb(204, 210, 97);
/* oklch */ color: oklch(83.6% 0.137 111.8);
Tailwind
colors: {
  custom: {
    50: '#dedf91',
    500: '#ccd261',
    950: '#000000',
  },
}
SCSS
$custom: #ccd261;
$custom-light: #dedf91;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd261",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 97
  },
  "hsl": {
    "h": 63.186,
    "s": 55.665,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83646,
    "c": 0.13681,
    "h": 111.8
  },
  "luminance": 0.59794
}

Semantic roles & 50–950 ramp

primary
#CCD261
secondary
#464296
accent
#22C32B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD261

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

Preview Lab → · Contrast checker → · Palette generator →

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