#CDCD45#CDCD45

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

Color values

HEX#CDCD45
RGBrgb(205, 205, 69)
HSLhsl(60, 58%, 54%)
HSVhsv(60, 66%, 80%)
CMYKcmyk(0%, 0%, 66.3%, 19.6%)
CIE-LABlab(80.22, -16.34, 64.68)
CIE-LCHlch(80.22, 66.71, 104.18°)
OKLaboklab(82.39% -0.051 0.1451)
OKLCHoklch(82.39% 0.154 109.4)
XYZxyz(48.0839, 57.0728, 14.1123)
Luminance0.5707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD45 #4545CD
analogous
#CD8945 #CDCD45 #89CD45
triadic
#CDCD45 #45CDCD #CD45CD
tetradic
#CDCD45 #45CD89 #4545CD #CD4589
square
#CDCD45 #45CD89 #4545CD #CD4589
split-complementary
#CDCD45 #4589CD #8945CD
monochromatic
#777720 #A8A82D #CDCD45 #DADA75 #E7E7A5

Accessibility & contrast

On white

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

On black

12.41
#CDCD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD45
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD45#FFFFFF#000000##000000
##CDCD451.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcd45;
/* rgb */ color: rgb(205, 205, 69);
/* oklch */ color: oklch(82.4% 0.154 109.4);
Tailwind
colors: {
  custom: {
    50: '#e0dc80',
    500: '#cdcd45',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd45;
$custom-light: #e0dc80;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd45",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 69
  },
  "hsl": {
    "h": 60,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.82386,
    "c": 0.1538,
    "h": 109.4
  },
  "luminance": 0.57071
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDCD45

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

Preview Lab → · Contrast checker → · Palette generator →

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