#CDC943#CDC943

#CDC943 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.5% C 0.151 H 107.6°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#CDC943
RGBrgb(205, 201, 67)
HSLhsl(58, 58%, 53%)
HSVhsv(58, 67%, 80%)
CMYKcmyk(0%, 2%, 67.3%, 19.6%)
CIE-LABlab(79.13, -14.45, 64.35)
CIE-LCHlch(79.13, 65.95, 102.65°)
OKLaboklab(81.51% -0.0458 0.1441)
OKLCHoklch(81.51% 0.151 107.6)
XYZxyz(47.0783, 55.1592, 13.4760)
Luminance0.5516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC943 #4347CD
analogous
#CD8443 #CDC943 #8CCD43
triadic
#CDC943 #43CDC9 #C943CD
tetradic
#CDC943 #43CD84 #4347CD #CD438C
square
#CDC943 #43CD84 #4347CD #CD438C
split-complementary
#CDC943 #438CCD #8443CD
monochromatic
#76741F #A7A32C #CDC943 #DAD773 #E7E5A4

Accessibility & contrast

On white

1.75
#CDC943 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#CDC943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC943
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC943#FFFFFF#000000##000000
##CDC9431.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12F
Deuteranopia (green-blind)
#DCC64C
Tritanopia (blue-blind)
#DBBCAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc943;
/* rgb */ color: rgb(205, 201, 67);
/* oklch */ color: oklch(81.5% 0.151 107.6);
Tailwind
colors: {
  custom: {
    50: '#e0d97f',
    500: '#cdc943',
    950: '#000000',
  },
}
SCSS
$custom: #cdc943;
$custom-light: #e0d97f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc943",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 67
  },
  "hsl": {
    "h": 58.261,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81514,
    "c": 0.15121,
    "h": 107.6
  },
  "luminance": 0.55158
}

Semantic roles & 50–950 ramp

primary
#CDC943
secondary
#36387F
accent
#4BE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC943

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

Preview Lab → · Contrast checker → · Palette generator →

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