#CDC646#CDC646

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

Color values

HEX#CDC646
RGBrgb(205, 198, 70)
HSLhsl(57, 57%, 54%)
HSVhsv(57, 66%, 80%)
CMYKcmyk(0%, 3.4%, 65.9%, 19.6%)
CIE-LABlab(78.35, -12.77, 62.38)
CIE-LCHlch(78.35, 63.67, 101.57°)
OKLaboklab(80.9% -0.0408 0.1404)
OKLCHoklch(80.9% 0.146 106.2)
XYZxyz(46.4781, 53.8111, 13.7315)
Luminance0.5381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC646 #464DCD
analogous
#CD8346 #CDC646 #91CD46
triadic
#CDC646 #46CDC6 #C646CD
tetradic
#CDC646 #46CD83 #464DCD #CD4691
square
#CDC646 #46CD83 #464DCD #CD4691
split-complementary
#CDC646 #4691CD #8346CD
monochromatic
#787420 #A8A22D #CDC646 #DAD576 #E7E4A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC646#FFFFFF#000000##000000
##CDC6461.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)
#D6BF34
Deuteranopia (green-blind)
#D9C44E
Tritanopia (blue-blind)
#DCB9AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc646;
/* rgb */ color: rgb(205, 198, 70);
/* oklch */ color: oklch(80.9% 0.146 106.2);
Tailwind
colors: {
  custom: {
    50: '#dfd780',
    500: '#cdc646',
    950: '#000000',
  },
}
SCSS
$custom: #cdc646;
$custom-light: #dfd780;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc646",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 70
  },
  "hsl": {
    "h": 56.889,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80898,
    "c": 0.14622,
    "h": 106.2
  },
  "luminance": 0.53809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC646

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

Preview Lab → · Contrast checker → · Palette generator →

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