#CDCD5E#CDCD5E

#CDCD5E is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.6% C 0.134 H 109.0°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#CDCD5E
RGBrgb(205, 205, 94)
HSLhsl(60, 53%, 59%)
HSVhsv(60, 54%, 80%)
CMYKcmyk(0%, 0%, 54.1%, 19.6%)
CIE-LABlab(80.43, -14.66, 54.32)
CIE-LCHlch(80.43, 56.26, 105.10°)
OKLaboklab(82.62% -0.0436 0.1265)
OKLCHoklch(82.62% 0.134 109)
XYZxyz(49.0298, 57.4512, 19.0939)
Luminance0.5745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD5E #5E5ECD
analogous
#CD955E #CDCD5E #95CD5E
triadic
#CDCD5E #5ECDCD #CD5ECD
tetradic
#CDCD5E #5ECD95 #5E5ECD #CD5E95
square
#CDCD5E #5ECD95 #5E5ECD #CD5E95
split-complementary
#CDCD5E #5E95CD #955ECD
monochromatic
#87872A #B5B538 #CDCD5E #DCDC8D #EAEABB

Accessibility & contrast

On white

1.68
#CDCD5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#CDCD5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD5E
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD5E#FFFFFF#000000##000000
##CDCD5E1.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC553
Deuteranopia (green-blind)
#DDC964
Tritanopia (blue-blind)
#DAC2B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcd5e;
/* rgb */ color: rgb(205, 205, 94);
/* oklch */ color: oklch(82.6% 0.134 109.0);
Tailwind
colors: {
  custom: {
    50: '#dfdc8f',
    500: '#cdcd5e',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd5e;
$custom-light: #dfdc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd5e",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 94
  },
  "hsl": {
    "h": 60,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82624,
    "c": 0.1338,
    "h": 109
  },
  "luminance": 0.5745
}

Semantic roles & 50–950 ramp

primary
#CDCD5E
secondary
#41418E
accent
#4CDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDCD5E

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

Preview Lab → · Contrast checker → · Palette generator →

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