#CDC84D#CDC84D

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

Color values

HEX#CDC84D
RGBrgb(205, 200, 77)
HSLhsl(58, 56%, 55%)
HSVhsv(58, 62%, 80%)
CMYKcmyk(0%, 2.4%, 62.4%, 19.6%)
CIE-LABlab(78.94, -13.36, 60.13)
CIE-LCHlch(78.94, 61.59, 102.52°)
OKLaboklab(81.38% -0.0417 0.1367)
OKLCHoklch(81.38% 0.143 107)
XYZxyz(47.1723, 54.8250, 15.1172)
Luminance0.5482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC84D #4D52CD
analogous
#CD884D #CDC84D #92CD4D
triadic
#CDC84D #4DCDC8 #C84DCD
tetradic
#CDC84D #4DCD88 #4D52CD #CD4D92
square
#CDC84D #4DCD88 #4D52CD #CD4D92
split-complementary
#CDC84D #4D92CD #884DCD
monochromatic
#7D7923 #ACA830 #CDC84D #DAD77D #E8E6AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC84D#FFFFFF#000000##000000
##CDC84D1.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)
#D8C13E
Deuteranopia (green-blind)
#DAC654
Tritanopia (blue-blind)
#DBBCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc84d;
/* rgb */ color: rgb(205, 200, 77);
/* oklch */ color: oklch(81.4% 0.143 107.0);
Tailwind
colors: {
  custom: {
    50: '#dfd884',
    500: '#cdc84d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc84d;
$custom-light: #dfd884;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc84d",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 77
  },
  "hsl": {
    "h": 57.656,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81385,
    "c": 0.14294,
    "h": 107
  },
  "luminance": 0.54824
}

Semantic roles & 50–950 ramp

primary
#CDC84D
secondary
#3A3D84
accent
#4EDF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC84D

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

Preview Lab → · Contrast checker → · Palette generator →

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