#CDC85C#CDC85C

#CDC85C is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.5% C 0.130 H 106.5°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#CDC85C
RGBrgb(205, 200, 92)
HSLhsl(57, 53%, 58%)
HSVhsv(57, 55%, 80%)
CMYKcmyk(0%, 2.4%, 55.1%, 19.6%)
CIE-LABlab(79.08, -12.29, 53.68)
CIE-LCHlch(79.08, 55.07, 102.90°)
OKLaboklab(81.54% -0.037 0.1249)
OKLCHoklch(81.54% 0.13 106.5)
XYZxyz(47.7643, 55.0618, 18.2351)
Luminance0.5506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC85C #5C61CD
analogous
#CD8F5C #CDC85C #99CD5C
triadic
#CDC85C #5CCDC8 #C85CCD
tetradic
#CDC85C #5CCD8F #5C61CD #CD5C99
square
#CDC85C #5CCD8F #5C61CD #CD5C99
split-complementary
#CDC85C #5C99CD #8F5CCD
monochromatic
#868229 #B4AF37 #CDC85C #DBD88B #EAE8BA

Accessibility & contrast

On white

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

On black

12.01
#CDC85C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC85C
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC85C#FFFFFF#000000##000000
##CDC85C1.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C151
Deuteranopia (green-blind)
#D9C662
Tritanopia (blue-blind)
#DABCB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc85c;
/* rgb */ color: rgb(205, 200, 92);
/* oklch */ color: oklch(81.5% 0.130 106.5);
Tailwind
colors: {
  custom: {
    50: '#dfd88e',
    500: '#cdc85c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc85c;
$custom-light: #dfd88e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc85c",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 92
  },
  "hsl": {
    "h": 57.345,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81537,
    "c": 0.13031,
    "h": 106.5
  },
  "luminance": 0.5506
}

Semantic roles & 50–950 ramp

primary
#CDC85C
secondary
#40448D
accent
#52DC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC85C

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

Preview Lab → · Contrast checker → · Palette generator →

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