#CDCD43#CDCD43

#CDCD43 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.4% C 0.155 H 109.4°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#CDCD43
RGBrgb(205, 205, 67)
HSLhsl(60, 58%, 53%)
HSVhsv(60, 67%, 80%)
CMYKcmyk(0%, 0%, 67.3%, 19.6%)
CIE-LABlab(80.21, -16.45, 65.43)
CIE-LCHlch(80.21, 67.47, 104.11°)
OKLaboklab(82.37% -0.0515 0.1464)
OKLCHoklch(82.37% 0.155 109.4)
XYZxyz(48.0229, 57.0484, 13.7909)
Luminance0.5705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD43 #4343CD
analogous
#CD8843 #CDCD43 #88CD43
triadic
#CDCD43 #43CDCD #CD43CD
tetradic
#CDCD43 #43CD88 #4343CD #CD4388
square
#CDCD43 #43CD88 #4343CD #CD4388
split-complementary
#CDCD43 #4388CD #8843CD
monochromatic
#76761F #A7A72C #CDCD43 #DADA73 #E7E7A4

Accessibility & contrast

On white

1.69
#CDCD43 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#CDCD43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD43
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD43#FFFFFF#000000##000000
##CDCD431.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC52E
Deuteranopia (green-blind)
#DFC94D
Tritanopia (blue-blind)
#DBC0B1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcd43;
/* rgb */ color: rgb(205, 205, 67);
/* oklch */ color: oklch(82.4% 0.155 109.4);
Tailwind
colors: {
  custom: {
    50: '#e0dc7f',
    500: '#cdcd43',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd43;
$custom-light: #e0dc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd43",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 67
  },
  "hsl": {
    "h": 60,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.82371,
    "c": 0.15516,
    "h": 109.4
  },
  "luminance": 0.57047
}

Semantic roles & 50–950 ramp

primary
#CDCD43
secondary
#36367F
accent
#47E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDCD43

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

Preview Lab → · Contrast checker → · Palette generator →

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