#CFCD82#CFCD82

#CFCD82 is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.3% C 0.096 H 107.0°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#CFCD82
RGBrgb(207, 205, 130)
HSLhsl(58, 45%, 66%)
HSVhsv(58, 37%, 81%)
CMYKcmyk(0%, 1%, 37.2%, 18.8%)
CIE-LABlab(81.04, -10.40, 37.61)
CIE-LCHlch(81.04, 39.02, 105.46°)
OKLaboklab(83.29% -0.0282 0.0921)
OKLCHoklch(83.29% 0.096 107)
XYZxyz(51.5934, 58.5408, 29.6964)
Luminance0.5854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD82 #8284CF
analogous
#CFA682 #CFCD82 #AACF82
triadic
#CFCD82 #82CFCD #CD82CF
tetradic
#CFCD82 #82CFA6 #8284CF #CF82AA
square
#CFCD82 #82CFA6 #8284CF #CF82AA
split-complementary
#CFCD82 #82AACF #A682CF
monochromatic
#9B993C #BEBB56 #CFCD82 #E0DFAE #F1F0DA

Accessibility & contrast

On white

1.65
#CFCD82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#CFCD82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD82
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD82#FFFFFF#000000##000000
##CFCD821.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C77C
Deuteranopia (green-blind)
#DACB85
Tritanopia (blue-blind)
#D9C4BA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcd82;
/* rgb */ color: rgb(207, 205, 130);
/* oklch */ color: oklch(83.3% 0.096 107.0);
Tailwind
colors: {
  custom: {
    50: '#dfdca7',
    500: '#cfcd82',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd82;
$custom-light: #dfdca7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd82",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 130
  },
  "hsl": {
    "h": 58.442,
    "s": 44.509,
    "l": 66.078
  },
  "oklch": {
    "l": 0.83289,
    "c": 0.09635,
    "h": 107
  },
  "luminance": 0.5854
}

Semantic roles & 50–950 ramp

primary
#CFCD82
secondary
#5456A1
accent
#31B82E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCD82

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

Preview Lab → · Contrast checker → · Palette generator →

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