#CDC141#CDC141

#CDC141 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.8% C 0.145 H 103.9°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#CDC141
RGBrgb(205, 193, 65)
HSLhsl(55, 58%, 53%)
HSVhsv(55, 68%, 80%)
CMYKcmyk(0%, 5.9%, 68.3%, 19.6%)
CIE-LABlab(76.98, -10.50, 62.96)
CIE-LCHlch(76.98, 63.83, 99.47°)
OKLaboklab(79.8% -0.0349 0.1408)
OKLCHoklch(79.8% 0.145 103.9)
XYZxyz(45.2028, 51.5025, 12.5599)
Luminance0.5150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC141 #414DCD
analogous
#CD7B41 #CDC141 #93CD41
triadic
#CDC141 #41CDC1 #C141CD
tetradic
#CDC141 #41CD7B #414DCD #CD4193
square
#CDC141 #41CD7B #414DCD #CD4193
split-complementary
#CDC141 #4193CD #7B41CD
monochromatic
#756D1F #A59B2C #CDC141 #DAD171 #E6E1A2

Accessibility & contrast

On white

1.86
#CDC141 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#CDC141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC141
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC141#FFFFFF#000000##000000
##CDC1411.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2E
Deuteranopia (green-blind)
#D6C149
Tritanopia (blue-blind)
#DCB4A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc141;
/* rgb */ color: rgb(205, 193, 65);
/* oklch */ color: oklch(79.8% 0.145 103.9);
Tailwind
colors: {
  custom: {
    50: '#e0d37d',
    500: '#cdc141',
    950: '#000000',
  },
}
SCSS
$custom: #cdc141;
$custom-light: #e0d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc141",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 65
  },
  "hsl": {
    "h": 54.857,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79797,
    "c": 0.14508,
    "h": 103.9
  },
  "luminance": 0.51501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC141

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

Preview Lab → · Contrast checker → · Palette generator →

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