#CDC657#CDC657

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

Color values

HEX#CDC657
RGBrgb(205, 198, 87)
HSLhsl(56, 54%, 57%)
HSVhsv(56, 58%, 80%)
CMYKcmyk(0%, 3.4%, 57.6%, 19.6%)
CIE-LABlab(78.49, -11.66, 55.29)
CIE-LCHlch(78.49, 56.51, 101.91°)
OKLaboklab(81.06% -0.0358 0.1278)
OKLCHoklch(81.06% 0.133 105.6)
XYZxyz(47.0927, 54.0569, 16.9683)
Luminance0.5405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC657 #575ECD
analogous
#CD8B57 #CDC657 #99CD57
triadic
#CDC657 #57CDC6 #C657CD
tetradic
#CDC657 #57CD8B #575ECD #CD5799
square
#CDC657 #57CD8B #575ECD #CD5799
split-complementary
#CDC657 #5799CD #8B57CD
monochromatic
#837D27 #B2AA35 #CDC657 #DBD686 #E9E6B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC657#FFFFFF#000000##000000
##CDC6571.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)
#D5BF4B
Deuteranopia (green-blind)
#D8C55D
Tritanopia (blue-blind)
#DBBAAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc657;
/* rgb */ color: rgb(205, 198, 87);
/* oklch */ color: oklch(81.1% 0.133 105.6);
Tailwind
colors: {
  custom: {
    50: '#dfd78a',
    500: '#cdc657',
    950: '#000000',
  },
}
SCSS
$custom: #cdc657;
$custom-light: #dfd78a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc657",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 87
  },
  "hsl": {
    "h": 56.441,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81058,
    "c": 0.1327,
    "h": 105.6
  },
  "luminance": 0.54055
}

Semantic roles & 50–950 ramp

primary
#CDC657
secondary
#3E438A
accent
#53DD4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC657

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

Preview Lab → · Contrast checker → · Palette generator →

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