#CDCC46#CDCC46

#CDCC46 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.2% C 0.152 H 108.9°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#CDCC46
RGBrgb(205, 204, 70)
HSLhsl(60, 57%, 54%)
HSVhsv(60, 66%, 80%)
CMYKcmyk(0%, 0.5%, 65.9%, 19.6%)
CIE-LABlab(79.96, -15.78, 64.03)
CIE-LCHlch(79.96, 65.95, 103.85°)
OKLaboklab(82.18% -0.0493 0.1439)
OKLCHoklch(82.18% 0.152 108.9)
XYZxyz(47.8768, 56.6085, 14.1977)
Luminance0.5661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC46 #4647CD
analogous
#CD8946 #CDCC46 #8BCD46
triadic
#CDCC46 #46CDCC #CC46CD
tetradic
#CDCC46 #46CD89 #4647CD #CD468B
square
#CDCC46 #46CD89 #4647CD #CD468B
split-complementary
#CDCC46 #468BCD #8946CD
monochromatic
#787720 #A8A72D #CDCC46 #DAD976 #E7E7A6

Accessibility & contrast

On white

1.70
#CDCC46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#CDCC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC46
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC46#FFFFFF#000000##000000
##CDCC461.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC433
Deuteranopia (green-blind)
#DEC84F
Tritanopia (blue-blind)
#DBBFB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcc46;
/* rgb */ color: rgb(205, 204, 70);
/* oklch */ color: oklch(82.2% 0.152 108.9);
Tailwind
colors: {
  custom: {
    50: '#e0db81',
    500: '#cdcc46',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc46;
$custom-light: #e0db81;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc46",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 70
  },
  "hsl": {
    "h": 59.556,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.8218,
    "c": 0.1521,
    "h": 108.9
  },
  "luminance": 0.56607
}

Semantic roles & 50–950 ramp

primary
#CDCC46
secondary
#373780
accent
#48E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDCC46

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

Preview Lab → · Contrast checker → · Palette generator →

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