#CDC43A#CDC43A

#CDC43A is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.4% C 0.152 H 105.6°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#CDC43A
RGBrgb(205, 196, 58)
HSLhsl(56, 60%, 52%)
HSVhsv(56, 72%, 80%)
CMYKcmyk(0%, 4.4%, 71.7%, 19.6%)
CIE-LABlab(77.74, -12.38, 66.31)
CIE-LCHlch(77.74, 67.46, 100.57°)
OKLaboklab(80.38% -0.0409 0.1467)
OKLCHoklch(80.38% 0.152 105.6)
XYZxyz(45.6823, 52.7662, 11.7807)
Luminance0.5276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC43A #3A43CD
analogous
#CD7B3A #CDC43A #8CCD3A
triadic
#CDC43A #3ACDC4 #C43ACD
tetradic
#CDC43A #3ACD7B #3A43CD #CD3A8C
square
#CDC43A #3ACD7B #3A43CD #CD3A8C
split-complementary
#CDC43A #3A8CCD #7B3ACD
monochromatic
#706B1C #A19A29 #CDC43A #D9D36B #E6E19C

Accessibility & contrast

On white

1.82
#CDC43A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#CDC43A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC43A
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC43A#FFFFFF#000000##000000
##CDC43A1.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD21
Deuteranopia (green-blind)
#D8C344
Tritanopia (blue-blind)
#DCB7A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc43a;
/* rgb */ color: rgb(205, 196, 58);
/* oklch */ color: oklch(80.4% 0.152 105.6);
Tailwind
colors: {
  custom: {
    50: '#e0d579',
    500: '#cdc43a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc43a;
$custom-light: #e0d579;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc43a",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 58
  },
  "hsl": {
    "h": 56.327,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80383,
    "c": 0.15229,
    "h": 105.6
  },
  "luminance": 0.52764
}

Semantic roles & 50–950 ramp

primary
#CDC43A
secondary
#323679
accent
#4FE345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC43A

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

Preview Lab → · Contrast checker → · Palette generator →

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