#CDCC3E#CDCC3E

#CDCC3E is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.1% C 0.157 H 109.0°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#CDCC3E
RGBrgb(205, 204, 62)
HSLhsl(60, 59%, 52%)
HSVhsv(60, 70%, 80%)
CMYKcmyk(0%, 0.5%, 69.8%, 19.6%)
CIE-LABlab(79.91, -16.21, 66.99)
CIE-LCHlch(79.91, 68.92, 103.60°)
OKLaboklab(82.12% -0.0513 0.1488)
OKLCHoklch(82.12% 0.157 109)
XYZxyz(47.6409, 56.5141, 12.9553)
Luminance0.5651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC3E #3E3FCD
analogous
#CD843E #CDCC3E #87CD3E
triadic
#CDCC3E #3ECDCC #CC3ECD
tetradic
#CDCC3E #3ECD84 #3E3FCD #CD3E87
square
#CDCC3E #3ECD84 #3E3FCD #CD3E87
split-complementary
#CDCC3E #3E87CD #843ECD
monochromatic
#73721E #A3A32A #CDCC3E #DAD96F #E6E69F

Accessibility & contrast

On white

1.71
#CDCC3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#CDCC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC3E
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC3E#FFFFFF#000000##000000
##CDCC3E1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC426
Deuteranopia (green-blind)
#DEC848
Tritanopia (blue-blind)
#DBBFB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcc3e;
/* rgb */ color: rgb(205, 204, 62);
/* oklch */ color: oklch(82.1% 0.157 109.0);
Tailwind
colors: {
  custom: {
    50: '#e0db7c',
    500: '#cdcc3e',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc3e;
$custom-light: #e0db7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc3e",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 62
  },
  "hsl": {
    "h": 59.58,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.8212,
    "c": 0.1574,
    "h": 109
  },
  "luminance": 0.56513
}

Semantic roles & 50–950 ramp

primary
#CDCC3E
secondary
#34347C
accent
#47E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDCC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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