#CDC041#CDC041

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

Color values

HEX#CDC041
RGBrgb(205, 192, 65)
HSLhsl(54, 58%, 53%)
HSVhsv(54, 68%, 80%)
CMYKcmyk(0%, 6.3%, 68.3%, 19.6%)
CIE-LABlab(76.72, -9.99, 62.69)
CIE-LCHlch(76.72, 63.48, 99.06°)
OKLaboklab(79.59% -0.0335 0.1403)
OKLCHoklch(79.59% 0.144 103.4)
XYZxyz(44.9825, 51.0619, 12.4865)
Luminance0.5106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC041 #414ECD
analogous
#CD7A41 #CDC041 #94CD41
triadic
#CDC041 #41CDC0 #C041CD
tetradic
#CDC041 #41CD7A #414ECD #CD4194
square
#CDC041 #41CD7A #414ECD #CD4194
split-complementary
#CDC041 #4194CD #7A41CD
monochromatic
#756D1F #A59A2C #CDC041 #DAD071 #E6E0A2

Accessibility & contrast

On white

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

On black

11.21
#CDC041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC041
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC041#FFFFFF#000000##000000
##CDC0411.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2F
Deuteranopia (green-blind)
#D5C049
Tritanopia (blue-blind)
#DCB3A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cdc041;
/* rgb */ color: rgb(205, 192, 65);
/* oklch */ color: oklch(79.6% 0.144 103.4);
Tailwind
colors: {
  custom: {
    50: '#e0d27d',
    500: '#cdc041',
    950: '#000000',
  },
}
SCSS
$custom: #cdc041;
$custom-light: #e0d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc041",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 65
  },
  "hsl": {
    "h": 54.429,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79586,
    "c": 0.14419,
    "h": 103.4
  },
  "luminance": 0.5106
}

Semantic roles & 50–950 ramp

primary
#CDC041
secondary
#353B7D
accent
#55E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC041

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

Preview Lab → · Contrast checker → · Palette generator →

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