#CDC14A#CDC14A

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

Color values

HEX#CDC14A
RGBrgb(205, 193, 74)
HSLhsl(55, 57%, 55%)
HSVhsv(55, 64%, 80%)
CMYKcmyk(0%, 5.9%, 63.9%, 19.6%)
CIE-LABlab(77.05, -9.99, 59.38)
CIE-LCHlch(77.05, 60.21, 99.55°)
OKLaboklab(79.87% -0.0325 0.1347)
OKLCHoklch(79.87% 0.139 103.6)
XYZxyz(45.4846, 51.6152, 14.0441)
Luminance0.5161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC14A #4A56CD
analogous
#CD804A #CDC14A #97CD4A
triadic
#CDC14A #4ACDC1 #C14ACD
tetradic
#CDC14A #4ACD80 #4A56CD #CD4A97
square
#CDC14A #4ACD80 #4A56CD #CD4A97
split-complementary
#CDC14A #4A97CD #804ACD
monochromatic
#7B7322 #AB9F2F #CDC14A #DAD17A #E7E2AA

Accessibility & contrast

On white

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

On black

11.32
#CDC14A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC14A
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC14A#FFFFFF#000000##000000
##CDC14A1.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc14a;
/* rgb */ color: rgb(205, 193, 74);
/* oklch */ color: oklch(79.9% 0.139 103.6);
Tailwind
colors: {
  custom: {
    50: '#dfd382',
    500: '#cdc14a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc14a;
$custom-light: #dfd382;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc14a",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 74
  },
  "hsl": {
    "h": 54.504,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79873,
    "c": 0.13856,
    "h": 103.6
  },
  "luminance": 0.51613
}

Semantic roles & 50–950 ramp

primary
#CDC14A
secondary
#383F83
accent
#56E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC14A

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

Preview Lab → · Contrast checker → · Palette generator →

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