#CDCF56#CDCF56

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

Color values

HEX#CDCF56
RGBrgb(205, 207, 86)
HSLhsl(61, 56%, 57%)
HSVhsv(61, 58%, 81%)
CMYKcmyk(1%, 0%, 58.5%, 18.8%)
CIE-LABlab(80.89, -16.26, 58.40)
CIE-LCHlch(80.89, 60.62, 105.56°)
OKLaboklab(82.97% -0.049 0.1343)
OKLCHoklch(82.97% 0.143 110)
XYZxyz(49.1707, 58.2779, 17.4609)
Luminance0.5828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF56 #5856CF
analogous
#CF9556 #CDCF56 #90CF56
triadic
#CDCF56 #56CDCF #CF56CD
tetradic
#CDCF56 #56CF95 #5856CF #CF5690
square
#CDCF56 #56CF95 #5856CF #CF5690
split-complementary
#CDCF56 #5690CF #9556CF
monochromatic
#838526 #B2B533 #CDCF56 #DBDD86 #E9EAB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCF56#FFFFFF#000000##000000
##CDCF561.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)
#DEC748
Deuteranopia (green-blind)
#DFCB5D
Tritanopia (blue-blind)
#DAC3B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcf56;
/* rgb */ color: rgb(205, 207, 86);
/* oklch */ color: oklch(83.0% 0.143 110.0);
Tailwind
colors: {
  custom: {
    50: '#dfdd8a',
    500: '#cdcf56',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf56;
$custom-light: #dfdd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf56",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 86
  },
  "hsl": {
    "h": 60.992,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82967,
    "c": 0.14293,
    "h": 110
  },
  "luminance": 0.58277
}

Semantic roles & 50–950 ramp

primary
#CDCF56
secondary
#3F3D8C
accent
#49DF4B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDCF56

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

Preview Lab → · Contrast checker → · Palette generator →

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