#CDC442#CDC442

#CDC442 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.4% C 0.147 H 105.4°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#CDC442
RGBrgb(205, 196, 66)
HSLhsl(56, 58%, 53%)
HSVhsv(56, 68%, 80%)
CMYKcmyk(0%, 4.4%, 67.8%, 19.6%)
CIE-LABlab(77.79, -11.98, 63.38)
CIE-LCHlch(77.79, 64.50, 100.70°)
OKLaboklab(80.44% -0.039 0.1419)
OKLCHoklch(80.44% 0.147 105.4)
XYZxyz(45.9019, 52.8540, 12.9371)
Luminance0.5285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC442 #424BCD
analogous
#CD7E42 #CDC442 #90CD42
triadic
#CDC442 #42CDC4 #C442CD
tetradic
#CDC442 #42CD7E #424BCD #CD4290
square
#CDC442 #42CD7E #424BCD #CD4290
split-complementary
#CDC442 #4290CD #7E42CD
monochromatic
#76701F #A69E2C #CDC442 #DAD372 #E7E2A3

Accessibility & contrast

On white

1.81
#CDC442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#CDC442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC442
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC442#FFFFFF#000000##000000
##CDC4421.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2F
Deuteranopia (green-blind)
#D8C34A
Tritanopia (blue-blind)
#DCB7AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc442;
/* rgb */ color: rgb(205, 196, 66);
/* oklch */ color: oklch(80.4% 0.147 105.4);
Tailwind
colors: {
  custom: {
    50: '#e0d57e',
    500: '#cdc442',
    950: '#000000',
  },
}
SCSS
$custom: #cdc442;
$custom-light: #e0d57e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc442",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 66
  },
  "hsl": {
    "h": 56.115,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80441,
    "c": 0.14713,
    "h": 105.4
  },
  "luminance": 0.52852
}

Semantic roles & 50–950 ramp

primary
#CDC442
secondary
#353A7E
accent
#50E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC442

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

Preview Lab → · Contrast checker → · Palette generator →

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