#CDC14B#CDC14B

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

Color values

HEX#CDC14B
RGBrgb(205, 193, 75)
HSLhsl(54, 57%, 55%)
HSVhsv(54, 63%, 80%)
CMYKcmyk(0%, 5.9%, 63.4%, 19.6%)
CIE-LABlab(77.06, -9.92, 58.97)
CIE-LCHlch(77.06, 59.80, 99.55°)
OKLaboklab(79.88% -0.0322 0.134)
OKLCHoklch(79.88% 0.138 103.5)
XYZxyz(45.5185, 51.6288, 14.2229)
Luminance0.5163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC14B #4B57CD
analogous
#CD804B #CDC14B #98CD4B
triadic
#CDC14B #4BCDC1 #C14BCD
tetradic
#CDC14B #4BCD80 #4B57CD #CD4B98
square
#CDC14B #4BCD80 #4B57CD #CD4B98
split-complementary
#CDC14B #4B98CD #804BCD
monochromatic
#7B7322 #ABA030 #CDC14B #DAD17B #E8E2AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC14B#FFFFFF#000000##000000
##CDC14B1.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)
#D1BB3D
Deuteranopia (green-blind)
#D5C152
Tritanopia (blue-blind)
#DCB4A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc14b;
/* rgb */ color: rgb(205, 193, 75);
/* oklch */ color: oklch(79.9% 0.138 103.5);
Tailwind
colors: {
  custom: {
    50: '#dfd383',
    500: '#cdc14b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc14b;
$custom-light: #dfd383;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc14b",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 75
  },
  "hsl": {
    "h": 54.462,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79882,
    "c": 0.13779,
    "h": 103.5
  },
  "luminance": 0.51627
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC14B

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

Preview Lab → · Contrast checker → · Palette generator →

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