#CCC746#CCC746

#CCC746 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.0% C 0.147 H 107.1°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#CCC746
RGBrgb(204, 199, 70)
HSLhsl(58, 57%, 54%)
HSVhsv(58, 66%, 80%)
CMYKcmyk(0%, 2.5%, 65.7%, 20%)
CIE-LABlab(78.54, -13.69, 62.54)
CIE-LCHlch(78.54, 64.03, 102.35°)
OKLaboklab(81.03% -0.0433 0.1408)
OKLCHoklch(81.03% 0.147 107.1)
XYZxyz(46.4324, 54.1279, 13.7950)
Luminance0.5413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC746 #464BCC
analogous
#CC8446 #CCC746 #8ECC46
triadic
#CCC746 #46CCC7 #C746CC
tetradic
#CCC746 #46CC84 #464BCC #CC468E
square
#CCC746 #46CC84 #464BCC #CC468E
split-complementary
#CCC746 #468ECC #8446CC
monochromatic
#777421 #A7A22E #CCC746 #D9D676 #E6E4A6

Accessibility & contrast

On white

1.78
#CCC746 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#CCC746 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC746
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC746#FFFFFF#000000##000000
##CCC7461.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C034
Deuteranopia (green-blind)
#DAC54E
Tritanopia (blue-blind)
#DABAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc746;
/* rgb */ color: rgb(204, 199, 70);
/* oklch */ color: oklch(81.0% 0.147 107.1);
Tailwind
colors: {
  custom: {
    50: '#dfd780',
    500: '#ccc746',
    950: '#000000',
  },
}
SCSS
$custom: #ccc746;
$custom-light: #dfd780;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc746",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 70
  },
  "hsl": {
    "h": 57.761,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81025,
    "c": 0.14731,
    "h": 107.1
  },
  "luminance": 0.54126
}

Semantic roles & 50–950 ramp

primary
#CCC746
secondary
#373A7F
accent
#4DE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC746

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

Preview Lab → · Contrast checker → · Palette generator →

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