#CFCD81#CFCD81

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

Color values

HEX#CFCD81
RGBrgb(207, 205, 129)
HSLhsl(58, 45%, 66%)
HSVhsv(58, 38%, 81%)
CMYKcmyk(0%, 1%, 37.7%, 18.8%)
CIE-LABlab(81.02, -10.51, 38.10)
CIE-LCHlch(81.02, 39.52, 105.43°)
OKLaboklab(83.27% -0.0286 0.0932)
OKLCHoklch(83.27% 0.097 107)
XYZxyz(51.5266, 58.5141, 29.3446)
Luminance0.5851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD81 #8183CF
analogous
#CFA681 #CFCD81 #AACF81
triadic
#CFCD81 #81CFCD #CD81CF
tetradic
#CFCD81 #81CFA6 #8183CF #CF81AA
square
#CFCD81 #81CFA6 #8183CF #CF81AA
split-complementary
#CFCD81 #81AACF #A681CF
monochromatic
#9B983B #BEBB55 #CFCD81 #E0DFAD #F1F0DA

Accessibility & contrast

On white

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

On black

12.70
#CFCD81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD81
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD81#FFFFFF#000000##000000
##CFCD811.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfcd81;
/* rgb */ color: rgb(207, 205, 129);
/* oklch */ color: oklch(83.3% 0.097 107.0);
Tailwind
colors: {
  custom: {
    50: '#dfdca6',
    500: '#cfcd81',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd81;
$custom-light: #dfdca6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd81",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 129
  },
  "hsl": {
    "h": 58.462,
    "s": 44.828,
    "l": 65.882
  },
  "oklch": {
    "l": 0.83273,
    "c": 0.09749,
    "h": 107
  },
  "luminance": 0.58513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFCD81

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

Preview Lab → · Contrast checker → · Palette generator →

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