#CCC847#CCC847

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

Color values

HEX#CCC847
RGBrgb(204, 200, 71)
HSLhsl(58, 57%, 54%)
HSVhsv(58, 65%, 80%)
CMYKcmyk(0%, 2%, 65.2%, 20%)
CIE-LABlab(78.81, -14.14, 62.43)
CIE-LCHlch(78.81, 64.01, 102.76°)
OKLaboklab(81.25% -0.0445 0.1407)
OKLCHoklch(81.25% 0.148 107.5)
XYZxyz(46.6951, 54.6023, 14.0396)
Luminance0.5460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC847 #474BCC
analogous
#CC8647 #CCC847 #8ECC47
triadic
#CCC847 #47CCC8 #C847CC
tetradic
#CCC847 #47CC86 #474BCC #CC478E
square
#CCC847 #47CC86 #474BCC #CC478E
split-complementary
#CCC847 #478ECC #8647CC
monochromatic
#777521 #A7A42E #CCC847 #D9D677 #E7E5A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC847#FFFFFF#000000##000000
##CCC8471.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)
#D8C035
Deuteranopia (green-blind)
#DAC54F
Tritanopia (blue-blind)
#DABBAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc847;
/* rgb */ color: rgb(204, 200, 71);
/* oklch */ color: oklch(81.2% 0.148 107.5);
Tailwind
colors: {
  custom: {
    50: '#dfd881',
    500: '#ccc847',
    950: '#000000',
  },
}
SCSS
$custom: #ccc847;
$custom-light: #dfd881;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc847",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 71
  },
  "hsl": {
    "h": 58.195,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81247,
    "c": 0.14758,
    "h": 107.5
  },
  "luminance": 0.54601
}

Semantic roles & 50–950 ramp

primary
#CCC847
secondary
#373980
accent
#4CE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC847

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

Preview Lab → · Contrast checker → · Palette generator →

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