#CDC13D#CDC13D

#CDC13D is a light, vivid yellow. Relative luminance 0.515; 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#CDC13D
RGBrgb(205, 193, 61)
HSLhsl(55, 59%, 52%)
HSVhsv(55, 70%, 80%)
CMYKcmyk(0%, 5.9%, 70.2%, 19.6%)
CIE-LABlab(76.96, -10.71, 64.46)
CIE-LCHlch(76.96, 65.34, 99.43°)
OKLaboklab(79.77% -0.0359 0.1433)
OKLCHoklch(79.77% 0.148 104.1)
XYZxyz(45.0910, 51.4578, 11.9712)
Luminance0.5146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC13D #3D49CD
analogous
#CD793D #CDC13D #91CD3D
triadic
#CDC13D #3DCDC1 #C13DCD
tetradic
#CDC13D #3DCD79 #3D49CD #CD3D91
square
#CDC13D #3DCD79 #3D49CD #CD3D91
split-complementary
#CDC13D #3D91CD #793DCD
monochromatic
#726B1D #A3992A #CDC13D #DAD16E #E6E09E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC13D#FFFFFF#000000##000000
##CDC13D1.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)
#D2BA28
Deuteranopia (green-blind)
#D6C146
Tritanopia (blue-blind)
#DCB4A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc13d;
/* rgb */ color: rgb(205, 193, 61);
/* oklch */ color: oklch(79.8% 0.148 104.1);
Tailwind
colors: {
  custom: {
    50: '#e0d37b',
    500: '#cdc13d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc13d;
$custom-light: #e0d37b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc13d",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 61
  },
  "hsl": {
    "h": 55,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79767,
    "c": 0.14773,
    "h": 104.1
  },
  "luminance": 0.51456
}

Semantic roles & 50–950 ramp

primary
#CDC13D
secondary
#33397B
accent
#53E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC13D

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

Preview Lab → · Contrast checker → · Palette generator →

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