#CDCF82#CDCF82

#CDCF82 is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.5% C 0.099 H 109.6°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#CDCF82
RGBrgb(205, 207, 130)
HSLhsl(62, 45%, 66%)
HSVhsv(62, 37%, 81%)
CMYKcmyk(1%, 0%, 37.2%, 18.8%)
CIE-LABlab(81.41, -12.20, 38.05)
CIE-LCHlch(81.41, 39.96, 107.78°)
OKLaboklab(83.55% -0.0332 0.0932)
OKLCHoklch(83.55% 0.099 109.6)
XYZxyz(51.5195, 59.2174, 29.8309)
Luminance0.5922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF82 #8482CF
analogous
#CFAA82 #CDCF82 #A6CF82
triadic
#CDCF82 #82CDCF #CF82CD
tetradic
#CDCF82 #82CFAA #8482CF #CF82A6
square
#CDCF82 #82CFAA #8482CF #CF82A6
split-complementary
#CDCF82 #82A6CF #AA82CF
monochromatic
#999B3C #BBBE56 #CDCF82 #DFE0AE #F0F1DA

Accessibility & contrast

On white

1.64
#CDCF82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#CDCF82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF82
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF82#FFFFFF#000000##000000
##CDCF821.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcf82;
/* rgb */ color: rgb(205, 207, 130);
/* oklch */ color: oklch(83.5% 0.099 109.6);
Tailwind
colors: {
  custom: {
    50: '#dddda7',
    500: '#cdcf82',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf82;
$custom-light: #dddda7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf82",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 130
  },
  "hsl": {
    "h": 61.558,
    "s": 44.509,
    "l": 66.078
  },
  "oklch": {
    "l": 0.83547,
    "c": 0.09893,
    "h": 109.6
  },
  "luminance": 0.59216
}

Semantic roles & 50–950 ramp

primary
#CDCF82
secondary
#5654A1
accent
#2EB831
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCF82

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

Preview Lab → · Contrast checker → · Palette generator →

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