#CDCE57#CDCE57

#CDCE57 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.8% C 0.141 H 109.6°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#CDCE57
RGBrgb(205, 206, 87)
HSLhsl(61, 55%, 57%)
HSVhsv(61, 58%, 81%)
CMYKcmyk(0.5%, 0%, 57.8%, 19.2%)
CIE-LABlab(80.63, -15.69, 57.68)
CIE-LCHlch(80.63, 59.77, 105.22°)
OKLaboklab(82.76% -0.0472 0.1329)
OKLCHoklch(82.76% 0.141 109.6)
XYZxyz(48.9698, 57.8111, 17.5940)
Luminance0.5781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE57 #5857CE
analogous
#CE9357 #CDCE57 #92CE57
triadic
#CDCE57 #57CDCE #CE57CD
tetradic
#CDCE57 #57CE93 #5857CE #CE5792
square
#CDCE57 #57CE93 #5857CE #CE5792
split-complementary
#CDCE57 #5792CE #9357CE
monochromatic
#838427 #B2B334 #CDCE57 #DBDC86 #E9EAB6

Accessibility & contrast

On white

1.67
#CDCE57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#CDCE57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE57
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE57#FFFFFF#000000##000000
##CDCE571.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64A
Deuteranopia (green-blind)
#DECA5E
Tritanopia (blue-blind)
#DAC2B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdce57;
/* rgb */ color: rgb(205, 206, 87);
/* oklch */ color: oklch(82.8% 0.141 109.6);
Tailwind
colors: {
  custom: {
    50: '#dfdc8b',
    500: '#cdce57',
    950: '#000000',
  },
}
SCSS
$custom: #cdce57;
$custom-light: #dfdc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce57",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 87
  },
  "hsl": {
    "h": 60.504,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82762,
    "c": 0.14101,
    "h": 109.6
  },
  "luminance": 0.5781
}

Semantic roles & 50–950 ramp

primary
#CDCE57
secondary
#3F3E8B
accent
#4ADE4B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CDCE57

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

Preview Lab → · Contrast checker → · Palette generator →

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