#CDCC5E#CDCC5E

#CDCC5E is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.4% C 0.133 H 108.5°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#CDCC5E
RGBrgb(205, 204, 94)
HSLhsl(59, 53%, 59%)
HSVhsv(59, 54%, 80%)
CMYKcmyk(0%, 0.5%, 54.1%, 19.6%)
CIE-LABlab(80.17, -14.16, 54.01)
CIE-LCHlch(80.17, 55.84, 104.69°)
OKLaboklab(82.41% -0.0421 0.1259)
OKLCHoklch(82.41% 0.133 108.5)
XYZxyz(48.7914, 56.9743, 19.0144)
Luminance0.5697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC5E #5E5FCD
analogous
#CD945E #CDCC5E #96CD5E
triadic
#CDCC5E #5ECDCC #CC5ECD
tetradic
#CDCC5E #5ECD94 #5E5FCD #CD5E96
square
#CDCC5E #5ECD94 #5E5FCD #CD5E96
split-complementary
#CDCC5E #5E96CD #945ECD
monochromatic
#87862A #B5B438 #CDCC5E #DCDB8D #EAEABB

Accessibility & contrast

On white

1.69
#CDCC5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#CDCC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC5E
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC5E#FFFFFF#000000##000000
##CDCC5E1.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC553
Deuteranopia (green-blind)
#DCC964
Tritanopia (blue-blind)
#DAC1B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcc5e;
/* rgb */ color: rgb(205, 204, 94);
/* oklch */ color: oklch(82.4% 0.133 108.5);
Tailwind
colors: {
  custom: {
    50: '#dfdb8f',
    500: '#cdcc5e',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc5e;
$custom-light: #dfdb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc5e",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 94
  },
  "hsl": {
    "h": 59.459,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82411,
    "c": 0.13272,
    "h": 108.5
  },
  "luminance": 0.56973
}

Semantic roles & 50–950 ramp

primary
#CDCC5E
secondary
#41428E
accent
#4DDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDCC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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