#CDC13C#CDC13C

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

Color values

HEX#CDC13C
RGBrgb(205, 193, 60)
HSLhsl(55, 59%, 52%)
HSVhsv(55, 71%, 80%)
CMYKcmyk(0%, 5.9%, 70.7%, 19.6%)
CIE-LABlab(76.95, -10.76, 64.82)
CIE-LCHlch(76.95, 65.71, 99.42°)
OKLaboklab(79.76% -0.0361 0.1439)
OKLCHoklch(79.76% 0.148 104.1)
XYZxyz(45.0643, 51.4471, 11.8306)
Luminance0.5144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC13C #3C48CD
analogous
#CD783C #CDC13C #91CD3C
triadic
#CDC13C #3CCDC1 #C13CCD
tetradic
#CDC13C #3CCD78 #3C48CD #CD3C91
square
#CDC13C #3CCD78 #3C48CD #CD3C91
split-complementary
#CDC13C #3C91CD #783CCD
monochromatic
#716B1D #A2982A #CDC13C #D9D06D #E6E09D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC13C#FFFFFF#000000##000000
##CDC13C1.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)
#D2BA26
Deuteranopia (green-blind)
#D6C145
Tritanopia (blue-blind)
#DCB4A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc13c;
/* rgb */ color: rgb(205, 193, 60);
/* oklch */ color: oklch(79.8% 0.148 104.1);
Tailwind
colors: {
  custom: {
    50: '#e0d37a',
    500: '#cdc13c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc13c;
$custom-light: #e0d37a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc13c",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 60
  },
  "hsl": {
    "h": 55.034,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7976,
    "c": 0.14836,
    "h": 104.1
  },
  "luminance": 0.51445
}

Semantic roles & 50–950 ramp

primary
#CDC13C
secondary
#33397A
accent
#52E245
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC13C

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

Preview Lab → · Contrast checker → · Palette generator →

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