#CDC84E#CDC84E

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

Color values

HEX#CDC84E
RGBrgb(205, 200, 78)
HSLhsl(58, 56%, 55%)
HSVhsv(58, 62%, 80%)
CMYKcmyk(0%, 2.4%, 62%, 19.6%)
CIE-LABlab(78.95, -13.29, 59.72)
CIE-LCHlch(78.95, 61.18, 102.55°)
OKLaboklab(81.39% -0.0414 0.136)
OKLCHoklch(81.39% 0.142 106.9)
XYZxyz(47.2078, 54.8392, 15.3046)
Luminance0.5484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC84E #4E53CD
analogous
#CD884E #CDC84E #92CD4E
triadic
#CDC84E #4ECDC8 #C84ECD
tetradic
#CDC84E #4ECD88 #4E53CD #CD4E92
square
#CDC84E #4ECD88 #4E53CD #CD4E92
split-complementary
#CDC84E #4E92CD #884ECD
monochromatic
#7D7A23 #ADA831 #CDC84E #DAD77E #E8E6AD

Accessibility & contrast

On white

1.75
#CDC84E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#CDC84E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC84E
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC84E#FFFFFF#000000##000000
##CDC84E1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc84e;
/* rgb */ color: rgb(205, 200, 78);
/* oklch */ color: oklch(81.4% 0.142 106.9);
Tailwind
colors: {
  custom: {
    50: '#dfd885',
    500: '#cdc84e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc84e;
$custom-light: #dfd885;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc84e",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 78
  },
  "hsl": {
    "h": 57.638,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81394,
    "c": 0.14216,
    "h": 106.9
  },
  "luminance": 0.54838
}

Semantic roles & 50–950 ramp

primary
#CDC84E
secondary
#3A3D85
accent
#4EDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC84E

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

Preview Lab → · Contrast checker → · Palette generator →

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