#CDC14C#CDC14C

#CDC14C is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.9% C 0.137 H 103.5°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#CDC14C
RGBrgb(205, 193, 76)
HSLhsl(54, 56%, 55%)
HSVhsv(54, 63%, 80%)
CMYKcmyk(0%, 5.9%, 62.9%, 19.6%)
CIE-LABlab(77.07, -9.86, 58.55)
CIE-LCHlch(77.07, 59.38, 99.56°)
OKLaboklab(79.89% -0.0319 0.1332)
OKLCHoklch(79.89% 0.137 103.5)
XYZxyz(45.5530, 51.6426, 14.4046)
Luminance0.5164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC14C #4C58CD
analogous
#CD814C #CDC14C #98CD4C
triadic
#CDC14C #4CCDC1 #C14CCD
tetradic
#CDC14C #4CCD81 #4C58CD #CD4C98
square
#CDC14C #4CCD81 #4C58CD #CD4C98
split-complementary
#CDC14C #4C98CD #814CCD
monochromatic
#7C7423 #ACA030 #CDC14C #DAD27C #E8E2AC

Accessibility & contrast

On white

1.85
#CDC14C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#CDC14C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC14C
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC14C#FFFFFF#000000##000000
##CDC14C1.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB3E
Deuteranopia (green-blind)
#D5C153
Tritanopia (blue-blind)
#DCB4A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc14c;
/* rgb */ color: rgb(205, 193, 76);
/* oklch */ color: oklch(79.9% 0.137 103.5);
Tailwind
colors: {
  custom: {
    50: '#dfd383',
    500: '#cdc14c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc14c;
$custom-light: #dfd383;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc14c",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 76
  },
  "hsl": {
    "h": 54.419,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79891,
    "c": 0.137,
    "h": 103.5
  },
  "luminance": 0.51641
}

Semantic roles & 50–950 ramp

primary
#CDC14C
secondary
#394084
accent
#56E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC14C

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

Preview Lab → · Contrast checker → · Palette generator →

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