#CCC246#CCC246

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

Color values

HEX#CCC246
RGBrgb(204, 194, 70)
HSLhsl(56, 57%, 54%)
HSVhsv(56, 66%, 80%)
CMYKcmyk(0%, 4.9%, 65.7%, 20%)
CIE-LABlab(77.20, -11.16, 61.16)
CIE-LCHlch(77.20, 62.17, 100.34°)
OKLaboklab(79.96% -0.0362 0.1379)
OKLCHoklch(79.96% 0.143 104.7)
XYZxyz(45.3009, 51.8648, 13.4178)
Luminance0.5186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC246 #4650CC
analogous
#CC7F46 #CCC246 #93CC46
triadic
#CCC246 #46CCC2 #C246CC
tetradic
#CCC246 #46CC7F #4650CC #CC4693
square
#CCC246 #46CC7F #4650CC #CC4693
split-complementary
#CCC246 #4693CC #7F46CC
monochromatic
#777021 #A79E2E #CCC246 #D9D276 #E6E2A6

Accessibility & contrast

On white

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

On black

11.37
#CCC246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC246
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC246#FFFFFF#000000##000000
##CCC2461.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc246;
/* rgb */ color: rgb(204, 194, 70);
/* oklch */ color: oklch(80.0% 0.143 104.7);
Tailwind
colors: {
  custom: {
    50: '#dfd480',
    500: '#ccc246',
    950: '#000000',
  },
}
SCSS
$custom: #ccc246;
$custom-light: #dfd480;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc246",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 70
  },
  "hsl": {
    "h": 55.522,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79961,
    "c": 0.14255,
    "h": 104.7
  },
  "luminance": 0.51863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCC246

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

Preview Lab → · Contrast checker → · Palette generator →

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