#CDC84A#CDC84A

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

Color values

HEX#CDC84A
RGBrgb(205, 200, 74)
HSLhsl(58, 57%, 55%)
HSVhsv(58, 64%, 80%)
CMYKcmyk(0%, 2.4%, 63.9%, 19.6%)
CIE-LABlab(78.92, -13.54, 61.35)
CIE-LCHlch(78.92, 62.82, 102.45°)
OKLaboklab(81.36% -0.0425 0.1389)
OKLCHoklch(81.36% 0.145 107)
XYZxyz(47.0688, 54.7836, 14.5721)
Luminance0.5478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC84A #4A4FCD
analogous
#CD874A #CDC84A #91CD4A
triadic
#CDC84A #4ACDC8 #C84ACD
tetradic
#CDC84A #4ACD87 #4A4FCD #CD4A91
square
#CDC84A #4ACD87 #4A4FCD #CD4A91
split-complementary
#CDC84A #4A91CD #874ACD
monochromatic
#7B7722 #ABA62F #CDC84A #DAD77A #E7E5AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC84A#FFFFFF#000000##000000
##CDC84A1.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)
#D8C13A
Deuteranopia (green-blind)
#DBC652
Tritanopia (blue-blind)
#DBBBAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc84a;
/* rgb */ color: rgb(205, 200, 74);
/* oklch */ color: oklch(81.4% 0.145 107.0);
Tailwind
colors: {
  custom: {
    50: '#dfd883',
    500: '#cdc84a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc84a;
$custom-light: #dfd883;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc84a",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 74
  },
  "hsl": {
    "h": 57.71,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81358,
    "c": 0.14523,
    "h": 107
  },
  "luminance": 0.54782
}

Semantic roles & 50–950 ramp

primary
#CDC84A
secondary
#383B83
accent
#4EE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC84A

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

Preview Lab → · Contrast checker → · Palette generator →

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