#CDCA5D#CDCA5D

#CDCA5D is a light, vivid yellow. Relative luminance 0.560; OKLCH L 82.0% C 0.131 H 107.5°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#CDCA5D
RGBrgb(205, 202, 93)
HSLhsl(58, 53%, 58%)
HSVhsv(58, 55%, 80%)
CMYKcmyk(0%, 1.5%, 54.6%, 19.6%)
CIE-LABlab(79.62, -13.23, 53.85)
CIE-LCHlch(79.62, 55.45, 103.80°)
OKLaboklab(81.97% -0.0396 0.1254)
OKLCHoklch(81.97% 0.131 107.5)
XYZxyz(48.2745, 56.0119, 18.6222)
Luminance0.5601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA5D #5D60CD
analogous
#CD925D #CDCA5D #98CD5D
triadic
#CDCA5D #5DCDCA #CA5DCD
tetradic
#CDCA5D #5DCD92 #5D60CD #CD5D98
square
#CDCA5D #5DCD92 #5D60CD #CD5D98
split-complementary
#CDCA5D #5D98CD #925DCD
monochromatic
#868429 #B5B238 #CDCA5D #DBD98C #EAE9BB

Accessibility & contrast

On white

1.72
#CDCA5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#CDCA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA5D
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA5D#FFFFFF#000000##000000
##CDCA5D1.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C352
Deuteranopia (green-blind)
#DBC763
Tritanopia (blue-blind)
#DABFB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdca5d;
/* rgb */ color: rgb(205, 202, 93);
/* oklch */ color: oklch(82.0% 0.131 107.5);
Tailwind
colors: {
  custom: {
    50: '#dfd98e',
    500: '#cdca5d',
    950: '#000000',
  },
}
SCSS
$custom: #cdca5d;
$custom-light: #dfd98e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca5d",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 93
  },
  "hsl": {
    "h": 58.393,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81973,
    "c": 0.13149,
    "h": 107.5
  },
  "luminance": 0.56011
}

Semantic roles & 50–950 ramp

primary
#CDCA5D
secondary
#41438D
accent
#4FDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDCA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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