#CCC846#CCC846

#CCC846 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.2% C 0.148 H 107.6°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#CCC846
RGBrgb(204, 200, 70)
HSLhsl(58, 57%, 54%)
HSVhsv(58, 66%, 80%)
CMYKcmyk(0%, 2%, 65.7%, 20%)
CIE-LABlab(78.80, -14.20, 62.82)
CIE-LCHlch(78.80, 64.40, 102.74°)
OKLaboklab(81.24% -0.0448 0.1414)
OKLCHoklch(81.24% 0.148 107.6)
XYZxyz(46.6632, 54.5896, 13.8720)
Luminance0.5459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC846 #464ACC
analogous
#CC8546 #CCC846 #8DCC46
triadic
#CCC846 #46CCC8 #C846CC
tetradic
#CCC846 #46CC85 #464ACC #CC468D
square
#CCC846 #46CC85 #464ACC #CC468D
split-complementary
#CCC846 #468DCC #8546CC
monochromatic
#777421 #A7A32E #CCC846 #D9D676 #E6E5A6

Accessibility & contrast

On white

1.76
#CCC846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#CCC846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC846
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC846#FFFFFF#000000##000000
##CCC8461.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C034
Deuteranopia (green-blind)
#DBC54E
Tritanopia (blue-blind)
#DABBAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc846;
/* rgb */ color: rgb(204, 200, 70);
/* oklch */ color: oklch(81.2% 0.148 107.6);
Tailwind
colors: {
  custom: {
    50: '#dfd880',
    500: '#ccc846',
    950: '#000000',
  },
}
SCSS
$custom: #ccc846;
$custom-light: #dfd880;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc846",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 70
  },
  "hsl": {
    "h": 58.209,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81239,
    "c": 0.14829,
    "h": 107.6
  },
  "luminance": 0.54588
}

Semantic roles & 50–950 ramp

primary
#CCC846
secondary
#37397F
accent
#4CE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC846

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

Preview Lab → · Contrast checker → · Palette generator →

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