#CCC843#CCC843

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

Color values

HEX#CCC843
RGBrgb(204, 200, 67)
HSLhsl(58, 57%, 53%)
HSVhsv(58, 67%, 80%)
CMYKcmyk(0%, 2%, 67.2%, 20%)
CIE-LABlab(78.78, -14.37, 63.97)
CIE-LCHlch(78.78, 65.57, 102.66°)
OKLaboklab(81.22% -0.0455 0.1433)
OKLCHoklch(81.22% 0.15 107.6)
XYZxyz(46.5709, 54.5527, 13.3856)
Luminance0.5455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC843 #4347CC
analogous
#CC8343 #CCC843 #8BCC43
triadic
#CCC843 #43CCC8 #C843CC
tetradic
#CCC843 #43CC83 #4347CC #CC438B
square
#CCC843 #43CC83 #4347CC #CC438B
split-complementary
#CCC843 #438BCC #8343CC
monochromatic
#757220 #A5A22D #CCC843 #D9D673 #E6E4A3

Accessibility & contrast

On white

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

On black

11.91
#CCC843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC843
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC843#FFFFFF#000000##000000
##CCC8431.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02F
Deuteranopia (green-blind)
#DBC54C
Tritanopia (blue-blind)
#DABBAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc843;
/* rgb */ color: rgb(204, 200, 67);
/* oklch */ color: oklch(81.2% 0.150 107.6);
Tailwind
colors: {
  custom: {
    50: '#dfd87f',
    500: '#ccc843',
    950: '#000000',
  },
}
SCSS
$custom: #ccc843;
$custom-light: #dfd87f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc843",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 67
  },
  "hsl": {
    "h": 58.248,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81215,
    "c": 0.15038,
    "h": 107.6
  },
  "luminance": 0.54551
}

Semantic roles & 50–950 ramp

primary
#CCC843
secondary
#36387E
accent
#4CE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC843

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

Preview Lab → · Contrast checker → · Palette generator →

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