#CDCD46#CDCD46

#CDCD46 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.4% C 0.153 H 109.3°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#CDCD46
RGBrgb(205, 205, 70)
HSLhsl(60, 57%, 54%)
HSVhsv(60, 66%, 80%)
CMYKcmyk(0%, 0%, 65.9%, 19.6%)
CIE-LABlab(80.23, -16.28, 64.30)
CIE-LCHlch(80.23, 66.33, 104.21°)
OKLaboklab(82.39% -0.0507 0.1445)
OKLCHoklch(82.39% 0.153 109.3)
XYZxyz(48.1153, 57.0854, 14.2772)
Luminance0.5708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD46 #4646CD
analogous
#CD8A46 #CDCD46 #8ACD46
triadic
#CDCD46 #46CDCD #CD46CD
tetradic
#CDCD46 #46CD8A #4646CD #CD468A
square
#CDCD46 #46CD8A #4646CD #CD468A
split-complementary
#CDCD46 #468ACD #8A46CD
monochromatic
#787820 #A8A82D #CDCD46 #DADA76 #E7E7A6

Accessibility & contrast

On white

1.69
#CDCD46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#CDCD46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD46
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD46#FFFFFF#000000##000000
##CDCD461.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC533
Deuteranopia (green-blind)
#DFC94F
Tritanopia (blue-blind)
#DBC0B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcd46;
/* rgb */ color: rgb(205, 205, 70);
/* oklch */ color: oklch(82.4% 0.153 109.3);
Tailwind
colors: {
  custom: {
    50: '#e0dc81',
    500: '#cdcd46',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd46;
$custom-light: #e0dc81;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd46",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 70
  },
  "hsl": {
    "h": 60,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.82394,
    "c": 0.15311,
    "h": 109.3
  },
  "luminance": 0.57084
}

Semantic roles & 50–950 ramp

primary
#CDCD46
secondary
#373780
accent
#47E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDCD46

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

Preview Lab → · Contrast checker → · Palette generator →

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