#CCC247#CCC247

#CCC247 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.0% C 0.142 H 104.7°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#CCC247
RGBrgb(204, 194, 71)
HSLhsl(55, 57%, 54%)
HSVhsv(55, 65%, 80%)
CMYKcmyk(0%, 4.9%, 65.2%, 20%)
CIE-LABlab(77.21, -11.10, 60.76)
CIE-LCHlch(77.21, 61.77, 100.35°)
OKLaboklab(79.97% -0.0359 0.1372)
OKLCHoklch(79.97% 0.142 104.7)
XYZxyz(45.3327, 51.8775, 13.5855)
Luminance0.5188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC247 #4751CC
analogous
#CC8047 #CCC247 #94CC47
triadic
#CCC247 #47CCC2 #C247CC
tetradic
#CCC247 #47CC80 #4751CC #CC4794
square
#CCC247 #47CC80 #4751CC #CC4794
split-complementary
#CCC247 #4794CC #8047CC
monochromatic
#777121 #A79E2E #CCC247 #D9D277 #E7E2A7

Accessibility & contrast

On white

1.85
#CCC247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#CCC247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC247
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC247#FFFFFF#000000##000000
##CCC2471.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB37
Deuteranopia (green-blind)
#D6C14E
Tritanopia (blue-blind)
#DBB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc247;
/* rgb */ color: rgb(204, 194, 71);
/* oklch */ color: oklch(80.0% 0.142 104.7);
Tailwind
colors: {
  custom: {
    50: '#dfd480',
    500: '#ccc247',
    950: '#000000',
  },
}
SCSS
$custom: #ccc247;
$custom-light: #dfd480;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc247",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 71
  },
  "hsl": {
    "h": 55.489,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.7997,
    "c": 0.14181,
    "h": 104.7
  },
  "luminance": 0.51876
}

Semantic roles & 50–950 ramp

primary
#CCC247
secondary
#373D80
accent
#53E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC247

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

Preview Lab → · Contrast checker → · Palette generator →

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