#CDCA5E#CDCA5E

#CDCA5E 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.21:1 contrast (WCAG AA passes).

Color values

HEX#CDCA5E
RGBrgb(205, 202, 94)
HSLhsl(58, 53%, 59%)
HSVhsv(58, 54%, 80%)
CMYKcmyk(0%, 1.5%, 54.1%, 19.6%)
CIE-LABlab(79.63, -13.15, 53.40)
CIE-LCHlch(79.63, 54.99, 103.83°)
OKLaboklab(81.99% -0.0393 0.1245)
OKLCHoklch(81.99% 0.131 107.5)
XYZxyz(48.3191, 56.0297, 18.8570)
Luminance0.5603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA5E #5E61CD
analogous
#CD925E #CDCA5E #98CD5E
triadic
#CDCA5E #5ECDCA #CA5ECD
tetradic
#CDCA5E #5ECD92 #5E61CD #CD5E98
square
#CDCA5E #5ECD92 #5E61CD #CD5E98
split-complementary
#CDCA5E #5E98CD #925ECD
monochromatic
#87842A #B5B238 #CDCA5E #DCD98D #EAE9BB

Accessibility & contrast

On white

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

On black

12.21
#CDCA5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA5E
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA5E#FFFFFF#000000##000000
##CDCA5E1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdca5e;
/* rgb */ color: rgb(205, 202, 94);
/* oklch */ color: oklch(82.0% 0.131 107.5);
Tailwind
colors: {
  custom: {
    50: '#dfd98f',
    500: '#cdca5e',
    950: '#000000',
  },
}
SCSS
$custom: #cdca5e;
$custom-light: #dfd98f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca5e",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 94
  },
  "hsl": {
    "h": 58.378,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81985,
    "c": 0.13058,
    "h": 107.5
  },
  "luminance": 0.56028
}

Semantic roles & 50–950 ramp

primary
#CDCA5E
secondary
#41448E
accent
#50DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDCA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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