#CDCD54#CDCD54

#CDCD54 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.5% C 0.142 H 109.2°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#CDCD54
RGBrgb(205, 205, 84)
HSLhsl(60, 55%, 57%)
HSVhsv(60, 59%, 80%)
CMYKcmyk(0%, 0%, 59%, 19.6%)
CIE-LABlab(80.34, -15.40, 58.66)
CIE-LCHlch(80.34, 60.65, 104.71°)
OKLaboklab(82.52% -0.0467 0.1346)
OKLCHoklch(82.52% 0.142 109.2)
XYZxyz(48.6098, 57.2832, 16.8819)
Luminance0.5728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD54 #5454CD
analogous
#CD9154 #CDCD54 #91CD54
triadic
#CDCD54 #54CDCD #CD54CD
tetradic
#CDCD54 #54CD91 #5454CD #CD5491
square
#CDCD54 #54CD91 #5454CD #CD5491
split-complementary
#CDCD54 #5491CD #9154CD
monochromatic
#818126 #B0B034 #CDCD54 #DBDB83 #E9E9B3

Accessibility & contrast

On white

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

On black

12.46
#CDCD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD54
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD54#FFFFFF#000000##000000
##CDCD541.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC546
Deuteranopia (green-blind)
#DEC95B
Tritanopia (blue-blind)
#DAC1B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcd54;
/* rgb */ color: rgb(205, 205, 84);
/* oklch */ color: oklch(82.5% 0.142 109.2);
Tailwind
colors: {
  custom: {
    50: '#dfdc89',
    500: '#cdcd54',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd54;
$custom-light: #dfdc89;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd54",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 84
  },
  "hsl": {
    "h": 60,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82518,
    "c": 0.14246,
    "h": 109.2
  },
  "luminance": 0.57282
}

Semantic roles & 50–950 ramp

primary
#CDCD54
secondary
#3D3D88
accent
#4ADE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDCD54

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

Preview Lab → · Contrast checker → · Palette generator →

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