#CDC857#CDC857

#CDC857 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.5% C 0.135 H 106.7°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#CDC857
RGBrgb(205, 200, 87)
HSLhsl(57, 54%, 57%)
HSVhsv(57, 58%, 80%)
CMYKcmyk(0%, 2.4%, 57.6%, 19.6%)
CIE-LABlab(79.03, -12.67, 55.89)
CIE-LCHlch(79.03, 57.31, 102.77°)
OKLaboklab(81.48% -0.0387 0.1291)
OKLCHoklch(81.48% 0.135 106.7)
XYZxyz(47.5529, 54.9773, 17.1217)
Luminance0.5498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC857 #575CCD
analogous
#CD8D57 #CDC857 #97CD57
triadic
#CDC857 #57CDC8 #C857CD
tetradic
#CDC857 #57CD8D #575CCD #CD5797
square
#CDC857 #57CD8D #575CCD #CD5797
split-complementary
#CDC857 #5797CD #8D57CD
monochromatic
#837F27 #B2AD35 #CDC857 #DBD786 #E9E7B5

Accessibility & contrast

On white

1.75
#CDC857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#CDC857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC857
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC857#FFFFFF#000000##000000
##CDC8571.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14B
Deuteranopia (green-blind)
#DAC65D
Tritanopia (blue-blind)
#DBBCAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc857;
/* rgb */ color: rgb(205, 200, 87);
/* oklch */ color: oklch(81.5% 0.135 106.7);
Tailwind
colors: {
  custom: {
    50: '#dfd88a',
    500: '#cdc857',
    950: '#000000',
  },
}
SCSS
$custom: #cdc857;
$custom-light: #dfd88a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc857",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 87
  },
  "hsl": {
    "h": 57.458,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81483,
    "c": 0.13473,
    "h": 106.7
  },
  "luminance": 0.54976
}

Semantic roles & 50–950 ramp

primary
#CDC857
secondary
#3E418A
accent
#51DD4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC857

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

Preview Lab → · Contrast checker → · Palette generator →

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