#CDC84C#CDC84C

#CDC84C is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.4% C 0.144 H 107.0°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#CDC84C
RGBrgb(205, 200, 76)
HSLhsl(58, 56%, 55%)
HSVhsv(58, 63%, 80%)
CMYKcmyk(0%, 2.4%, 62.9%, 19.6%)
CIE-LABlab(78.93, -13.42, 60.54)
CIE-LCHlch(78.93, 62.01, 102.50°)
OKLaboklab(81.38% -0.042 0.1374)
OKLCHoklch(81.38% 0.144 107)
XYZxyz(47.1372, 54.8110, 14.9326)
Luminance0.5481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC84C #4C51CD
analogous
#CD874C #CDC84C #92CD4C
triadic
#CDC84C #4CCDC8 #C84CCD
tetradic
#CDC84C #4CCD87 #4C51CD #CD4C92
square
#CDC84C #4CCD87 #4C51CD #CD4C92
split-complementary
#CDC84C #4C92CD #874CCD
monochromatic
#7C7923 #ACA730 #CDC84C #DAD77C #E8E5AC

Accessibility & contrast

On white

1.76
#CDC84C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#CDC84C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC84C
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC84C#FFFFFF#000000##000000
##CDC84C1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13C
Deuteranopia (green-blind)
#DBC654
Tritanopia (blue-blind)
#DBBCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc84c;
/* rgb */ color: rgb(205, 200, 76);
/* oklch */ color: oklch(81.4% 0.144 107.0);
Tailwind
colors: {
  custom: {
    50: '#dfd884',
    500: '#cdc84c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc84c;
$custom-light: #dfd884;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc84c",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 76
  },
  "hsl": {
    "h": 57.674,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81376,
    "c": 0.14371,
    "h": 107
  },
  "luminance": 0.54809
}

Semantic roles & 50–950 ramp

primary
#CDC84C
secondary
#393C84
accent
#4EE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC84C

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

Preview Lab → · Contrast checker → · Palette generator →

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