#CDCF84#CDCF84

#CDCF84 is a very light, moderate yellow. Relative luminance 0.593; OKLCH L 83.6% C 0.097 H 109.6°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#CDCF84
RGBrgb(205, 207, 132)
HSLhsl(62, 44%, 66%)
HSVhsv(62, 36%, 81%)
CMYKcmyk(1%, 0%, 36.2%, 18.8%)
CIE-LABlab(81.44, -11.97, 37.08)
CIE-LCHlch(81.44, 38.96, 107.89°)
OKLaboklab(83.58% -0.0325 0.091)
OKLCHoklch(83.58% 0.097 109.6)
XYZxyz(51.6550, 59.2716, 30.5448)
Luminance0.5927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF84 #8684CF
analogous
#CFAC84 #CDCF84 #A8CF84
triadic
#CDCF84 #84CDCF #CF84CD
tetradic
#CDCF84 #84CFAC #8684CF #CF84A8
square
#CDCF84 #84CFAC #8684CF #CF84A8
split-complementary
#CDCF84 #84A8CF #AC84CF
monochromatic
#999C3D #BBBE58 #CDCF84 #DFE0B0 #F1F1DC

Accessibility & contrast

On white

1.63
#CDCF84 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#CDCF84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF84
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF84#FFFFFF#000000##000000
##CDCF841.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC97E
Deuteranopia (green-blind)
#DBCC87
Tritanopia (blue-blind)
#D7C6BC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdcf84;
/* rgb */ color: rgb(205, 207, 132);
/* oklch */ color: oklch(83.6% 0.097 109.6);
Tailwind
colors: {
  custom: {
    50: '#dddda8',
    500: '#cdcf84',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf84;
$custom-light: #dddda8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf84",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 132
  },
  "hsl": {
    "h": 61.6,
    "s": 43.86,
    "l": 66.471
  },
  "oklch": {
    "l": 0.8358,
    "c": 0.09663,
    "h": 109.6
  },
  "luminance": 0.59271
}

Semantic roles & 50–950 ramp

primary
#CDCF84
secondary
#5856A2
accent
#2FB732
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#151510
muted
#848480

Preview Lab

Preview with #CDCF84

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

Preview Lab → · Contrast checker → · Palette generator →

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