#CDC85A#CDC85A

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

Color values

HEX#CDC85A
RGBrgb(205, 200, 90)
HSLhsl(57, 53%, 58%)
HSVhsv(57, 56%, 80%)
CMYKcmyk(0%, 2.4%, 56.1%, 19.6%)
CIE-LABlab(79.06, -12.45, 54.57)
CIE-LCHlch(79.06, 55.97, 102.85°)
OKLaboklab(81.52% -0.0377 0.1266)
OKLCHoklch(81.52% 0.132 106.6)
XYZxyz(47.6780, 55.0273, 17.7807)
Luminance0.5503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC85A #5A5FCD
analogous
#CD8E5A #CDC85A #99CD5A
triadic
#CDC85A #5ACDC8 #C85ACD
tetradic
#CDC85A #5ACD8E #5A5FCD #CD5A99
square
#CDC85A #5ACD8E #5A5FCD #CD5A99
split-complementary
#CDC85A #5A99CD #8E5ACD
monochromatic
#848028 #B3AE36 #CDC85A #DBD889 #E9E7B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC85A#FFFFFF#000000##000000
##CDC85A1.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)
#D7C14F
Deuteranopia (green-blind)
#DAC660
Tritanopia (blue-blind)
#DABCB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc85a;
/* rgb */ color: rgb(205, 200, 90);
/* oklch */ color: oklch(81.5% 0.132 106.6);
Tailwind
colors: {
  custom: {
    50: '#dfd88c',
    500: '#cdc85a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc85a;
$custom-light: #dfd88c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc85a",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 90
  },
  "hsl": {
    "h": 57.391,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81515,
    "c": 0.1321,
    "h": 106.6
  },
  "luminance": 0.55026
}

Semantic roles & 50–950 ramp

primary
#CDC85A
secondary
#40438C
accent
#51DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC85A

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

Preview Lab → · Contrast checker → · Palette generator →

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