#CDC14F#CDC14F

#CDC14F is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.9% C 0.135 H 103.3°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#CDC14F
RGBrgb(205, 193, 79)
HSLhsl(54, 56%, 56%)
HSVhsv(54, 61%, 80%)
CMYKcmyk(0%, 5.9%, 61.5%, 19.6%)
CIE-LABlab(77.09, -9.67, 57.29)
CIE-LCHlch(77.09, 58.10, 99.58°)
OKLaboklab(79.92% -0.031 0.131)
OKLCHoklch(79.92% 0.135 103.3)
XYZxyz(45.6598, 51.6853, 14.9667)
Luminance0.5168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC14F #4F5BCD
analogous
#CD824F #CDC14F #9ACD4F
triadic
#CDC14F #4FCDC1 #C14FCD
tetradic
#CDC14F #4FCD82 #4F5BCD #CD4F9A
square
#CDC14F #4FCD82 #4F5BCD #CD4F9A
split-complementary
#CDC14F #4F9ACD #824FCD
monochromatic
#7E7524 #AEA231 #CDC14F #DBD27F #E8E3AE

Accessibility & contrast

On white

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

On black

11.34
#CDC14F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC14F
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC14F#FFFFFF#000000##000000
##CDC14F1.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB42
Deuteranopia (green-blind)
#D5C155
Tritanopia (blue-blind)
#DBB5A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc14f;
/* rgb */ color: rgb(205, 193, 79);
/* oklch */ color: oklch(79.9% 0.135 103.3);
Tailwind
colors: {
  custom: {
    50: '#dfd385',
    500: '#cdc14f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc14f;
$custom-light: #dfd385;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc14f",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 79
  },
  "hsl": {
    "h": 54.286,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.7992,
    "c": 0.13461,
    "h": 103.3
  },
  "luminance": 0.51684
}

Semantic roles & 50–950 ramp

primary
#CDC14F
secondary
#3B4286
accent
#57DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC14F

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

Preview Lab → · Contrast checker → · Palette generator →

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