#CDCD58#CDCD58

#CDCD58 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.6% C 0.139 H 109.1°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#CDCD58
RGBrgb(205, 205, 88)
HSLhsl(60, 54%, 57%)
HSVhsv(60, 57%, 80%)
CMYKcmyk(0%, 0%, 57.1%, 19.6%)
CIE-LABlab(80.37, -15.12, 56.95)
CIE-LCHlch(80.37, 58.92, 104.87°)
OKLaboklab(82.56% -0.0455 0.1314)
OKLCHoklch(82.56% 0.139 109.1)
XYZxyz(48.7710, 57.3476, 17.7307)
Luminance0.5735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD58 #5858CD
analogous
#CD9358 #CDCD58 #93CD58
triadic
#CDCD58 #58CDCD #CD58CD
tetradic
#CDCD58 #58CD93 #5858CD #CD5893
square
#CDCD58 #58CD93 #5858CD #CD5893
split-complementary
#CDCD58 #5893CD #9358CD
monochromatic
#838327 #B2B235 #CDCD58 #DBDB87 #E9E9B6

Accessibility & contrast

On white

1.68
#CDCD58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#CDCD58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD58
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD58#FFFFFF#000000##000000
##CDCD581.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54B
Deuteranopia (green-blind)
#DEC95F
Tritanopia (blue-blind)
#DAC1B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcd58;
/* rgb */ color: rgb(205, 205, 88);
/* oklch */ color: oklch(82.6% 0.139 109.1);
Tailwind
colors: {
  custom: {
    50: '#dfdc8b',
    500: '#cdcd58',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd58;
$custom-light: #dfdc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd58",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 88
  },
  "hsl": {
    "h": 60,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82559,
    "c": 0.13909,
    "h": 109.1
  },
  "luminance": 0.57346
}

Semantic roles & 50–950 ramp

primary
#CDCD58
secondary
#3F3F8B
accent
#4BDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CDCD58

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

Preview Lab → · Contrast checker → · Palette generator →

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