#CDCF57#CDCF57

#CDCF57 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.0% C 0.142 H 110.0°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#CDCF57
RGBrgb(205, 207, 87)
HSLhsl(61, 56%, 58%)
HSVhsv(61, 58%, 81%)
CMYKcmyk(1%, 0%, 58%, 18.8%)
CIE-LABlab(80.90, -16.19, 57.97)
CIE-LCHlch(80.90, 60.19, 105.60°)
OKLaboklab(82.98% -0.0486 0.1335)
OKLCHoklch(82.98% 0.142 110)
XYZxyz(49.2113, 58.2941, 17.6745)
Luminance0.5829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF57 #5957CF
analogous
#CF9557 #CDCF57 #91CF57
triadic
#CDCF57 #57CDCF #CF57CD
tetradic
#CDCF57 #57CF95 #5957CF #CF5791
square
#CDCF57 #57CF95 #5957CF #CF5791
split-complementary
#CDCF57 #5791CF #9557CF
monochromatic
#848526 #B3B534 #CDCF57 #DBDD87 #E9EAB6

Accessibility & contrast

On white

1.66
#CDCF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#CDCF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF57
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF57#FFFFFF#000000##000000
##CDCF571.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74A
Deuteranopia (green-blind)
#DFCB5E
Tritanopia (blue-blind)
#DAC3B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcf57;
/* rgb */ color: rgb(205, 207, 87);
/* oklch */ color: oklch(83.0% 0.142 110.0);
Tailwind
colors: {
  custom: {
    50: '#dfdd8b',
    500: '#cdcf57',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf57;
$custom-light: #dfdd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf57",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 87
  },
  "hsl": {
    "h": 61,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82977,
    "c": 0.14209,
    "h": 110
  },
  "luminance": 0.58293
}

Semantic roles & 50–950 ramp

primary
#CDCF57
secondary
#3F3E8C
accent
#49DF4B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CDCF57

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

Preview Lab → · Contrast checker → · Palette generator →

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