#CCD043#CCD043

#CCD043 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 82.9% C 0.158 H 111.0°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#CCD043
RGBrgb(204, 208, 67)
HSLhsl(62, 60%, 54%)
HSVhsv(62, 68%, 82%)
CMYKcmyk(1.9%, 0%, 67.8%, 18.4%)
CIE-LABlab(80.94, -18.35, 66.14)
CIE-LCHlch(80.94, 68.64, 105.51°)
OKLaboklab(82.93% -0.0567 0.1479)
OKLCHoklch(82.93% 0.158 111)
XYZxyz(48.4724, 58.3556, 14.0195)
Luminance0.5835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD043 #4743D0
analogous
#D08E43 #CCD043 #86D043
triadic
#CCD043 #43CCD0 #D043CC
tetradic
#CCD043 #43D08E #4743D0 #D04386
square
#CCD043 #43D08E #4743D0 #D04386
split-complementary
#CCD043 #4386D0 #8E43D0
monochromatic
#777A1F #A7AB2B #CCD043 #D9DC74 #E7E8A5

Accessibility & contrast

On white

1.66
#CCD043 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#CCD043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD043
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD043#FFFFFF#000000##000000
##CCD0431.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C72D
Deuteranopia (green-blind)
#E1CB4D
Tritanopia (blue-blind)
#DAC3B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ccd043;
/* rgb */ color: rgb(204, 208, 67);
/* oklch */ color: oklch(82.9% 0.158 111.0);
Tailwind
colors: {
  custom: {
    50: '#dfde7f',
    500: '#ccd043',
    950: '#000000',
  },
}
SCSS
$custom: #ccd043;
$custom-light: #dfde7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd043",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 67
  },
  "hsl": {
    "h": 61.702,
    "s": 60,
    "l": 53.922
  },
  "oklch": {
    "l": 0.82934,
    "c": 0.1584,
    "h": 111
  },
  "luminance": 0.58354
}

Semantic roles & 50–950 ramp

primary
#CCD043
secondary
#373582
accent
#45E349
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD043

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

Preview Lab → · Contrast checker → · Palette generator →

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