#CDC647#CDC647

#CDC647 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.9% C 0.145 H 106.2°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#CDC647
RGBrgb(205, 198, 71)
HSLhsl(57, 57%, 54%)
HSVhsv(57, 65%, 80%)
CMYKcmyk(0%, 3.4%, 65.4%, 19.6%)
CIE-LABlab(78.36, -12.71, 61.99)
CIE-LCHlch(78.36, 63.28, 101.59°)
OKLaboklab(80.91% -0.0405 0.1397)
OKLCHoklch(80.91% 0.146 106.2)
XYZxyz(46.5100, 53.8238, 13.8991)
Luminance0.5382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC647 #474ECD
analogous
#CD8347 #CDC647 #91CD47
triadic
#CDC647 #47CDC6 #C647CD
tetradic
#CDC647 #47CD83 #474ECD #CD4791
square
#CDC647 #47CD83 #474ECD #CD4791
split-complementary
#CDC647 #4791CD #8347CD
monochromatic
#797421 #A9A22E #CDC647 #DAD577 #E7E4A7

Accessibility & contrast

On white

1.79
#CDC647 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#CDC647 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC647
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC647#FFFFFF#000000##000000
##CDC6471.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF36
Deuteranopia (green-blind)
#D9C44F
Tritanopia (blue-blind)
#DBB9AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc647;
/* rgb */ color: rgb(205, 198, 71);
/* oklch */ color: oklch(80.9% 0.145 106.2);
Tailwind
colors: {
  custom: {
    50: '#dfd781',
    500: '#cdc647',
    950: '#000000',
  },
}
SCSS
$custom: #cdc647;
$custom-light: #dfd781;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc647",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 71
  },
  "hsl": {
    "h": 56.866,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80907,
    "c": 0.1455,
    "h": 106.2
  },
  "luminance": 0.53822
}

Semantic roles & 50–950 ramp

primary
#CDC647
secondary
#373B81
accent
#4FE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC647

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

Preview Lab → · Contrast checker → · Palette generator →

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