#CDC43D#CDC43D

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

Color values

HEX#CDC43D
RGBrgb(205, 196, 61)
HSLhsl(56, 59%, 52%)
HSVhsv(56, 70%, 80%)
CMYKcmyk(0%, 4.4%, 70.2%, 19.6%)
CIE-LABlab(77.76, -12.24, 65.24)
CIE-LCHlch(77.76, 66.38, 100.62°)
OKLaboklab(80.4% -0.0402 0.145)
OKLCHoklch(80.4% 0.15 105.5)
XYZxyz(45.7609, 52.7976, 12.1945)
Luminance0.5280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC43D #3D46CD
analogous
#CD7C3D #CDC43D #8ECD3D
triadic
#CDC43D #3DCDC4 #C43DCD
tetradic
#CDC43D #3DCD7C #3D46CD #CD3D8E
square
#CDC43D #3DCD7C #3D46CD #CD3D8E
split-complementary
#CDC43D #3D8ECD #7C3DCD
monochromatic
#726D1D #A39B2A #CDC43D #DAD36E #E6E29E

Accessibility & contrast

On white

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

On black

11.56
#CDC43D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC43D
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC43D#FFFFFF#000000##000000
##CDC43D1.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc43d;
/* rgb */ color: rgb(205, 196, 61);
/* oklch */ color: oklch(80.4% 0.150 105.5);
Tailwind
colors: {
  custom: {
    50: '#e0d57b',
    500: '#cdc43d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc43d;
$custom-light: #e0d57b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc43d",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 61
  },
  "hsl": {
    "h": 56.25,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80404,
    "c": 0.15043,
    "h": 105.5
  },
  "luminance": 0.52796
}

Semantic roles & 50–950 ramp

primary
#CDC43D
secondary
#33387B
accent
#4FE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC43D

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

Preview Lab → · Contrast checker → · Palette generator →

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