#CDC644#CDC644

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

Color values

HEX#CDC644
RGBrgb(205, 198, 68)
HSLhsl(57, 58%, 54%)
HSVhsv(57, 67%, 80%)
CMYKcmyk(0%, 3.4%, 66.8%, 19.6%)
CIE-LABlab(78.34, -12.88, 63.16)
CIE-LCHlch(78.34, 64.46, 101.53°)
OKLaboklab(80.88% -0.0413 0.1417)
OKLCHoklch(80.88% 0.148 106.3)
XYZxyz(46.4160, 53.7863, 13.4045)
Luminance0.5379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC644 #444BCD
analogous
#CD8144 #CDC644 #8FCD44
triadic
#CDC644 #44CDC6 #C644CD
tetradic
#CDC644 #44CD81 #444BCD #CD448F
square
#CDC644 #44CD81 #444BCD #CD448F
split-complementary
#CDC644 #448FCD #8144CD
monochromatic
#777220 #A7A12D #CDC644 #DAD574 #E7E3A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC644#FFFFFF#000000##000000
##CDC6441.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)
#D6BF31
Deuteranopia (green-blind)
#D9C44C
Tritanopia (blue-blind)
#DCB9AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc644;
/* rgb */ color: rgb(205, 198, 68);
/* oklch */ color: oklch(80.9% 0.148 106.3);
Tailwind
colors: {
  custom: {
    50: '#e0d77f',
    500: '#cdc644',
    950: '#000000',
  },
}
SCSS
$custom: #cdc644;
$custom-light: #e0d77f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc644",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 68
  },
  "hsl": {
    "h": 56.934,
    "s": 57.806,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80882,
    "c": 0.14764,
    "h": 106.3
  },
  "luminance": 0.53785
}

Semantic roles & 50–950 ramp

primary
#CDC644
secondary
#363A7F
accent
#4FE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC644

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

Preview Lab → · Contrast checker → · Palette generator →

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