#CDC658#CDC658

#CDC658 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.1% C 0.132 H 105.6°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#CDC658
RGBrgb(205, 198, 88)
HSLhsl(56, 54%, 57%)
HSVhsv(56, 57%, 80%)
CMYKcmyk(0%, 3.4%, 57.1%, 19.6%)
CIE-LABlab(78.50, -11.58, 54.86)
CIE-LCHlch(78.50, 56.06, 101.92°)
OKLaboklab(81.07% -0.0355 0.127)
OKLCHoklch(81.07% 0.132 105.6)
XYZxyz(47.1339, 54.0734, 17.1850)
Luminance0.5407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC658 #585FCD
analogous
#CD8B58 #CDC658 #9ACD58
triadic
#CDC658 #58CDC6 #C658CD
tetradic
#CDC658 #58CD8B #585FCD #CD589A
square
#CDC658 #58CD8B #585FCD #CD589A
split-complementary
#CDC658 #589ACD #8B58CD
monochromatic
#837E27 #B2AB35 #CDC658 #DBD687 #E9E6B6

Accessibility & contrast

On white

1.78
#CDC658 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#CDC658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC658
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC658#FFFFFF#000000##000000
##CDC6581.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4C
Deuteranopia (green-blind)
#D8C55E
Tritanopia (blue-blind)
#DBBAAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc658;
/* rgb */ color: rgb(205, 198, 88);
/* oklch */ color: oklch(81.1% 0.132 105.6);
Tailwind
colors: {
  custom: {
    50: '#dfd78b',
    500: '#cdc658',
    950: '#000000',
  },
}
SCSS
$custom: #cdc658;
$custom-light: #dfd78b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc658",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 88
  },
  "hsl": {
    "h": 56.41,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81069,
    "c": 0.13183,
    "h": 105.6
  },
  "luminance": 0.54072
}

Semantic roles & 50–950 ramp

primary
#CDC658
secondary
#3F438B
accent
#53DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC658

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

Preview Lab → · Contrast checker → · Palette generator →

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