#CDC440#CDC440

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

Color values

HEX#CDC440
RGBrgb(205, 196, 64)
HSLhsl(56, 59%, 53%)
HSVhsv(56, 69%, 80%)
CMYKcmyk(0%, 4.4%, 68.8%, 19.6%)
CIE-LABlab(77.78, -12.08, 64.14)
CIE-LCHlch(77.78, 65.27, 100.67°)
OKLaboklab(80.43% -0.0395 0.1431)
OKLCHoklch(80.43% 0.148 105.4)
XYZxyz(45.8440, 52.8308, 12.6320)
Luminance0.5283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC440 #4049CD
analogous
#CD7D40 #CDC440 #90CD40
triadic
#CDC440 #40CDC4 #C440CD
tetradic
#CDC440 #40CD7D #4049CD #CD4090
square
#CDC440 #40CD7D #4049CD #CD4090
split-complementary
#CDC440 #4090CD #7D40CD
monochromatic
#746F1E #A59D2B #CDC440 #DAD371 #E6E2A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC440#FFFFFF#000000##000000
##CDC4401.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc440;
/* rgb */ color: rgb(205, 196, 64);
/* oklch */ color: oklch(80.4% 0.148 105.4);
Tailwind
colors: {
  custom: {
    50: '#e0d57d',
    500: '#cdc440',
    950: '#000000',
  },
}
SCSS
$custom: #cdc440;
$custom-light: #e0d57d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc440",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 64
  },
  "hsl": {
    "h": 56.17,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80426,
    "c": 0.14848,
    "h": 105.4
  },
  "luminance": 0.52829
}

Semantic roles & 50–950 ramp

primary
#CDC440
secondary
#34397D
accent
#50E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC440

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

Preview Lab → · Contrast checker → · Palette generator →

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