#CDC854#CDC854

#CDC854 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.5% C 0.137 H 106.8°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#CDC854
RGBrgb(205, 200, 84)
HSLhsl(58, 55%, 57%)
HSVhsv(58, 59%, 80%)
CMYKcmyk(0%, 2.4%, 59%, 19.6%)
CIE-LABlab(79.00, -12.89, 57.19)
CIE-LCHlch(79.00, 58.62, 102.70°)
OKLaboklab(81.45% -0.0396 0.1315)
OKLCHoklch(81.45% 0.137 106.8)
XYZxyz(47.4329, 54.9293, 16.4896)
Luminance0.5493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC854 #5459CD
analogous
#CD8C54 #CDC854 #96CD54
triadic
#CDC854 #54CDC8 #C854CD
tetradic
#CDC854 #54CD8C #5459CD #CD5496
square
#CDC854 #54CD8C #5459CD #CD5496
split-complementary
#CDC854 #5496CD #8C54CD
monochromatic
#817D26 #B0AB34 #CDC854 #DBD783 #E9E6B3

Accessibility & contrast

On white

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

On black

11.99
#CDC854 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC854
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC854#FFFFFF#000000##000000
##CDC8541.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C147
Deuteranopia (green-blind)
#DAC65B
Tritanopia (blue-blind)
#DBBCAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc854;
/* rgb */ color: rgb(205, 200, 84);
/* oklch */ color: oklch(81.5% 0.137 106.8);
Tailwind
colors: {
  custom: {
    50: '#dfd889',
    500: '#cdc854',
    950: '#000000',
  },
}
SCSS
$custom: #cdc854;
$custom-light: #dfd889;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc854",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 84
  },
  "hsl": {
    "h": 57.521,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81452,
    "c": 0.13729,
    "h": 106.8
  },
  "luminance": 0.54928
}

Semantic roles & 50–950 ramp

primary
#CDC854
secondary
#3D4088
accent
#50DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDC854

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

Preview Lab → · Contrast checker → · Palette generator →

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