#CCD843#CCD843

#CCD843 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 84.7% C 0.167 H 113.9°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#CCD843
RGBrgb(204, 216, 67)
HSLhsl(65, 66%, 55%)
HSVhsv(65, 69%, 85%)
CMYKcmyk(5.6%, 0%, 69%, 15.3%)
CIE-LABlab(83.10, -22.27, 68.30)
CIE-LCHlch(83.10, 71.84, 108.06°)
OKLaboklab(84.67% -0.0677 0.1524)
OKLCHoklch(84.67% 0.167 113.9)
XYZxyz(50.4722, 62.3553, 14.6861)
Luminance0.6235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD843 #4F43D8
analogous
#D89943 #CCD843 #81D843
triadic
#CCD843 #43CCD8 #D843CC
tetradic
#CCD843 #43D899 #4F43D8 #D84381
square
#CCD843 #43D899 #4F43D8 #D84381
split-complementary
#CCD843 #4381D8 #9943D8
monochromatic
#7D851C #ACB826 #CCD843 #DAE376 #E7EDA8

Accessibility & contrast

On white

1.56
#CCD843 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.47
#CCD843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD843
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD843#FFFFFF#000000##000000
##CCD8431.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE2B
Deuteranopia (green-blind)
#E7D04E
Tritanopia (blue-blind)
#D9CBBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd843;
/* rgb */ color: rgb(204, 216, 67);
/* oklch */ color: oklch(84.7% 0.167 113.9);
Tailwind
colors: {
  custom: {
    50: '#dfe380',
    500: '#ccd843',
    950: '#000000',
  },
}
SCSS
$custom: #ccd843;
$custom-light: #dfe380;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd843",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 67
  },
  "hsl": {
    "h": 64.832,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.84668,
    "c": 0.1668,
    "h": 113.9
  },
  "luminance": 0.62354
}

Semantic roles & 50–950 ramp

primary
#CCD843
secondary
#3B348C
accent
#3FE94D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD843

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

Preview Lab → · Contrast checker → · Palette generator →

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