#CDC341#CDC341

#CDC341 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.2% C 0.147 H 104.9°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#CDC341
RGBrgb(205, 195, 65)
HSLhsl(56, 58%, 53%)
HSVhsv(56, 68%, 80%)
CMYKcmyk(0%, 4.9%, 68.3%, 19.6%)
CIE-LABlab(77.52, -11.52, 63.49)
CIE-LCHlch(77.52, 64.53, 100.29°)
OKLaboklab(80.22% -0.0378 0.142)
OKLCHoklch(80.22% 0.147 104.9)
XYZxyz(45.6479, 52.3927, 12.7083)
Luminance0.5239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC341 #414BCD
analogous
#CD7D41 #CDC341 #91CD41
triadic
#CDC341 #41CDC3 #C341CD
tetradic
#CDC341 #41CD7D #414BCD #CD4191
square
#CDC341 #41CD7D #414BCD #CD4191
split-complementary
#CDC341 #4191CD #7D41CD
monochromatic
#756F1F #A59D2C #CDC341 #DAD271 #E6E2A2

Accessibility & contrast

On white

1.83
#CDC341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#CDC341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC341
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC341#FFFFFF#000000##000000
##CDC3411.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2E
Deuteranopia (green-blind)
#D7C249
Tritanopia (blue-blind)
#DCB6A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc341;
/* rgb */ color: rgb(205, 195, 65);
/* oklch */ color: oklch(80.2% 0.147 104.9);
Tailwind
colors: {
  custom: {
    50: '#e0d47d',
    500: '#cdc341',
    950: '#000000',
  },
}
SCSS
$custom: #cdc341;
$custom-light: #e0d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc341",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 65
  },
  "hsl": {
    "h": 55.714,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80221,
    "c": 0.14689,
    "h": 104.9
  },
  "luminance": 0.52391
}

Semantic roles & 50–950 ramp

primary
#CDC341
secondary
#353A7D
accent
#51E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC341

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

Preview Lab → · Contrast checker → · Palette generator →

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