#CCCE47#CCCE47

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

Color values

HEX#CCCE47
RGBrgb(204, 206, 71)
HSLhsl(61, 58%, 54%)
HSVhsv(61, 66%, 81%)
CMYKcmyk(1%, 0%, 65.5%, 19.2%)
CIE-LABlab(80.42, -17.14, 64.09)
CIE-LCHlch(80.42, 66.34, 104.97°)
OKLaboklab(82.53% -0.0529 0.1442)
OKLCHoklch(82.53% 0.154 110.2)
XYZxyz(48.1120, 57.4362, 14.5119)
Luminance0.5744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE47 #4947CE
analogous
#CE8D47 #CCCE47 #89CE47
triadic
#CCCE47 #47CCCE #CE47CC
tetradic
#CCCE47 #47CE8D #4947CE #CE4789
square
#CCCE47 #47CE8D #4947CE #CE4789
split-complementary
#CCCE47 #4789CE #8D47CE
monochromatic
#797A21 #A9AA2D #CCCE47 #D9DB77 #E7E8A8

Accessibility & contrast

On white

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

On black

12.49
#CCCE47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCE47
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCE47#FFFFFF#000000##000000
##CCCE471.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC534
Deuteranopia (green-blind)
#DFC950
Tritanopia (blue-blind)
#DAC2B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ccce47;
/* rgb */ color: rgb(204, 206, 71);
/* oklch */ color: oklch(82.5% 0.154 110.2);
Tailwind
colors: {
  custom: {
    50: '#dfdc81',
    500: '#ccce47',
    950: '#000000',
  },
}
SCSS
$custom: #ccce47;
$custom-light: #dfdc81;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce47",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 71
  },
  "hsl": {
    "h": 60.889,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82534,
    "c": 0.15362,
    "h": 110.2
  },
  "luminance": 0.57435
}

Semantic roles & 50–950 ramp

primary
#CCCE47
secondary
#383782
accent
#47E149
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCCE47

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

Preview Lab → · Contrast checker → · Palette generator →

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