#CDCD3E#CDCD3E

#CDCD3E is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.3% C 0.158 H 109.4°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#CDCD3E
RGBrgb(205, 205, 62)
HSLhsl(60, 59%, 52%)
HSVhsv(60, 70%, 80%)
CMYKcmyk(0%, 0%, 69.8%, 19.6%)
CIE-LABlab(80.17, -16.71, 67.25)
CIE-LCHlch(80.17, 69.29, 103.95°)
OKLaboklab(82.34% -0.0527 0.1494)
OKLCHoklch(82.34% 0.158 109.4)
XYZxyz(47.8793, 56.9910, 13.0347)
Luminance0.5699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD3E #3E3ECD
analogous
#CD863E #CDCD3E #86CD3E
triadic
#CDCD3E #3ECDCD #CD3ECD
tetradic
#CDCD3E #3ECD86 #3E3ECD #CD3E86
square
#CDCD3E #3ECD86 #3E3ECD #CD3E86
split-complementary
#CDCD3E #3E86CD #863ECD
monochromatic
#73731E #A3A32A #CDCD3E #DADA6F #E6E69F

Accessibility & contrast

On white

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

On black

12.40
#CDCD3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD3E
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD3E#FFFFFF#000000##000000
##CDCD3E1.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC425
Deuteranopia (green-blind)
#DFC948
Tritanopia (blue-blind)
#DBC0B1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcd3e;
/* rgb */ color: rgb(205, 205, 62);
/* oklch */ color: oklch(82.3% 0.158 109.4);
Tailwind
colors: {
  custom: {
    50: '#e0dc7c',
    500: '#cdcd3e',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd3e;
$custom-light: #e0dc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd3e",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 62
  },
  "hsl": {
    "h": 60,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.82335,
    "c": 0.15838,
    "h": 109.4
  },
  "luminance": 0.5699
}

Semantic roles & 50–950 ramp

primary
#CDCD3E
secondary
#34347C
accent
#46E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CDCD3E

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

Preview Lab → · Contrast checker → · Palette generator →

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