#CCCE3D#CCCE3D

#CCCE3D is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.5% C 0.160 H 110.2°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#CCCE3D
RGBrgb(204, 206, 61)
HSLhsl(61, 60%, 52%)
HSVhsv(61, 70%, 81%)
CMYKcmyk(1%, 0%, 70.4%, 19.2%)
CIE-LABlab(80.36, -17.67, 67.76)
CIE-LCHlch(80.36, 70.02, 104.62°)
OKLaboklab(82.46% -0.0554 0.1503)
OKLCHoklch(82.46% 0.16 110.2)
XYZxyz(47.8171, 57.3182, 12.9586)
Luminance0.5732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE3D #3F3DCE
analogous
#CE883D #CCCE3D #83CE3D
triadic
#CCCE3D #3DCCCE #CE3DCC
tetradic
#CCCE3D #3DCE88 #3F3DCE #CE3D83
square
#CCCE3D #3DCE88 #3F3DCE #CE3D83
split-complementary
#CCCE3D #3D83CE #883DCE
monochromatic
#72731D #A3A429 #CCCE3D #D9DA6E #E6E79F

Accessibility & contrast

On white

1.68
#CCCE3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#CCCE3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCE3D
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCE3D#FFFFFF#000000##000000
##CCCE3D1.001.6812.4612.46
#FFFFFF1.681.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC523
Deuteranopia (green-blind)
#E0C948
Tritanopia (blue-blind)
#DAC1B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ccce3d;
/* rgb */ color: rgb(204, 206, 61);
/* oklch */ color: oklch(82.5% 0.160 110.2);
Tailwind
colors: {
  custom: {
    50: '#dfdc7c',
    500: '#ccce3d',
    950: '#000000',
  },
}
SCSS
$custom: #ccce3d;
$custom-light: #dfdc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce3d",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 61
  },
  "hsl": {
    "h": 60.828,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.8246,
    "c": 0.16019,
    "h": 110.2
  },
  "luminance": 0.57317
}

Semantic roles & 50–950 ramp

primary
#CCCE3D
secondary
#34337C
accent
#45E347
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CCCE3D

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

Preview Lab → · Contrast checker → · Palette generator →

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