#CDCF55#CDCF55

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

Color values

HEX#CDCF55
RGBrgb(205, 207, 85)
HSLhsl(61, 56%, 57%)
HSVhsv(61, 59%, 81%)
CMYKcmyk(1%, 0%, 58.9%, 18.8%)
CIE-LABlab(80.88, -16.33, 58.82)
CIE-LCHlch(80.88, 61.05, 105.52°)
OKLaboklab(82.96% -0.0493 0.1351)
OKLCHoklch(82.96% 0.144 110)
XYZxyz(49.1307, 58.2619, 17.2502)
Luminance0.5826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF55 #5755CF
analogous
#CF9455 #CDCF55 #90CF55
triadic
#CDCF55 #55CDCF #CF55CD
tetradic
#CDCF55 #55CF94 #5755CF #CF5590
square
#CDCF55 #55CF94 #5755CF #CF5590
split-complementary
#CDCF55 #5590CF #9455CF
monochromatic
#838425 #B2B433 #CDCF55 #DBDC85 #E9EAB4

Accessibility & contrast

On white

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

On black

12.65
#CDCF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF55
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF55#FFFFFF#000000##000000
##CDCF551.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcf55;
/* rgb */ color: rgb(205, 207, 85);
/* oklch */ color: oklch(83.0% 0.144 110.0);
Tailwind
colors: {
  custom: {
    50: '#dfdd8a',
    500: '#cdcf55',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf55;
$custom-light: #dfdd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf55",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 85
  },
  "hsl": {
    "h": 60.984,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82957,
    "c": 0.14375,
    "h": 110
  },
  "luminance": 0.58261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDCF55

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

Preview Lab → · Contrast checker → · Palette generator →

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