#CDC043#CDC043

#CDC043 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.6% C 0.143 H 103.3°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#CDC043
RGBrgb(205, 192, 67)
HSLhsl(54, 58%, 53%)
HSVhsv(54, 67%, 80%)
CMYKcmyk(0%, 6.3%, 67.3%, 19.6%)
CIE-LABlab(76.73, -9.88, 61.91)
CIE-LCHlch(76.73, 62.70, 99.07°)
OKLaboklab(79.6% -0.0329 0.139)
OKLCHoklch(79.6% 0.143 103.3)
XYZxyz(45.0414, 51.0854, 12.7970)
Luminance0.5108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC043 #4350CD
analogous
#CD7B43 #CDC043 #95CD43
triadic
#CDC043 #43CDC0 #C043CD
tetradic
#CDC043 #43CD7B #4350CD #CD4395
square
#CDC043 #43CD7B #4350CD #CD4395
split-complementary
#CDC043 #4395CD #7B43CD
monochromatic
#766E1F #A79B2C #CDC043 #DAD073 #E7E0A4

Accessibility & contrast

On white

1.87
#CDC043 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#CDC043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC043
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC043#FFFFFF#000000##000000
##CDC0431.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA32
Deuteranopia (green-blind)
#D5C04B
Tritanopia (blue-blind)
#DCB3A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cdc043;
/* rgb */ color: rgb(205, 192, 67);
/* oklch */ color: oklch(79.6% 0.143 103.3);
Tailwind
colors: {
  custom: {
    50: '#e0d27e',
    500: '#cdc043',
    950: '#000000',
  },
}
SCSS
$custom: #cdc043;
$custom-light: #e0d27e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc043",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 67
  },
  "hsl": {
    "h": 54.348,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79602,
    "c": 0.1428,
    "h": 103.3
  },
  "luminance": 0.51084
}

Semantic roles & 50–950 ramp

primary
#CDC043
secondary
#363C7F
accent
#55E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC043

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

Preview Lab → · Contrast checker → · Palette generator →

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