#CDC13A#CDC13A

#CDC13A is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.7% C 0.150 H 104.2°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#CDC13A
RGBrgb(205, 193, 58)
HSLhsl(55, 60%, 52%)
HSVhsv(55, 72%, 80%)
CMYKcmyk(0%, 5.9%, 71.7%, 19.6%)
CIE-LABlab(76.94, -10.85, 65.54)
CIE-LCHlch(76.94, 66.43, 99.40°)
OKLaboklab(79.75% -0.0366 0.1451)
OKLCHoklch(79.75% 0.15 104.2)
XYZxyz(45.0124, 51.4263, 11.5574)
Luminance0.5142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC13A #3A46CD
analogous
#CD783A #CDC13A #90CD3A
triadic
#CDC13A #3ACDC1 #C13ACD
tetradic
#CDC13A #3ACD78 #3A46CD #CD3A90
square
#CDC13A #3ACD78 #3A46CD #CD3A90
split-complementary
#CDC13A #3A90CD #783ACD
monochromatic
#70691C #A19729 #CDC13A #D9D06B #E6E09C

Accessibility & contrast

On white

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

On black

11.29
#CDC13A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC13A
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC13A#FFFFFF#000000##000000
##CDC13A1.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc13a;
/* rgb */ color: rgb(205, 193, 58);
/* oklch */ color: oklch(79.7% 0.150 104.2);
Tailwind
colors: {
  custom: {
    50: '#e0d379',
    500: '#cdc13a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc13a;
$custom-light: #e0d379;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc13a",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 58
  },
  "hsl": {
    "h": 55.102,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79746,
    "c": 0.14961,
    "h": 104.2
  },
  "luminance": 0.51425
}

Semantic roles & 50–950 ramp

primary
#CDC13A
secondary
#323879
accent
#52E345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC13A

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

Preview Lab → · Contrast checker → · Palette generator →

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