#CDC84F#CDC84F

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

Color values

HEX#CDC84F
RGBrgb(205, 200, 79)
HSLhsl(58, 56%, 56%)
HSVhsv(58, 61%, 80%)
CMYKcmyk(0%, 2.4%, 61.5%, 19.6%)
CIE-LABlab(78.96, -13.23, 59.30)
CIE-LCHlch(78.96, 60.76, 102.57°)
OKLaboklab(81.4% -0.0411 0.1353)
OKLCHoklch(81.4% 0.141 106.9)
XYZxyz(47.2440, 54.8537, 15.4948)
Luminance0.5485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC84F #4F54CD
analogous
#CD894F #CDC84F #93CD4F
triadic
#CDC84F #4FCDC8 #C84FCD
tetradic
#CDC84F #4FCD89 #4F54CD #CD4F93
square
#CDC84F #4FCD89 #4F54CD #CD4F93
split-complementary
#CDC84F #4F93CD #894FCD
monochromatic
#7E7A24 #AEA931 #CDC84F #DBD77F #E8E6AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC84F#FFFFFF#000000##000000
##CDC84F1.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)
#D8C141
Deuteranopia (green-blind)
#DAC656
Tritanopia (blue-blind)
#DBBCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc84f;
/* rgb */ color: rgb(205, 200, 79);
/* oklch */ color: oklch(81.4% 0.141 106.9);
Tailwind
colors: {
  custom: {
    50: '#dfd886',
    500: '#cdc84f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc84f;
$custom-light: #dfd886;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc84f",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 79
  },
  "hsl": {
    "h": 57.619,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81403,
    "c": 0.14137,
    "h": 106.9
  },
  "luminance": 0.54852
}

Semantic roles & 50–950 ramp

primary
#CDC84F
secondary
#3B3E86
accent
#4FDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC84F

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

Preview Lab → · Contrast checker → · Palette generator →

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