#CFCD8D#CFCD8D

#CFCD8D is a very light, moderate yellow. Relative luminance 0.589; OKLCH L 83.5% C 0.083 H 106.6°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#CFCD8D
RGBrgb(207, 205, 141)
HSLhsl(58, 41%, 68%)
HSVhsv(58, 32%, 81%)
CMYKcmyk(0%, 1%, 31.9%, 18.8%)
CIE-LABlab(81.21, -9.10, 32.19)
CIE-LCHlch(81.21, 33.45, 105.78°)
OKLaboklab(83.48% -0.0238 0.08)
OKLCHoklch(83.48% 0.083 106.6)
XYZxyz(52.3716, 58.8521, 33.7949)
Luminance0.5885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD8D #8D8FCF
analogous
#CFAC8D #CFCD8D #B0CF8D
triadic
#CFCD8D #8DCFCD #CD8DCF
tetradic
#CFCD8D #8DCFAC #8D8FCF #CF8DB0
square
#CFCD8D #8DCFAC #8D8FCF #CF8DB0
split-complementary
#CFCD8D #8DB0CF #AC8DCF
monochromatic
#9F9C43 #BDBA62 #CFCD8D #E1E0B8 #F3F3E3

Accessibility & contrast

On white

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

On black

12.77
#CFCD8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD8D
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD8D#FFFFFF#000000##000000
##CFCD8D1.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C889
Deuteranopia (green-blind)
#D9CB90
Tritanopia (blue-blind)
#D8C5BD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcd8d;
/* rgb */ color: rgb(207, 205, 141);
/* oklch */ color: oklch(83.5% 0.083 106.6);
Tailwind
colors: {
  custom: {
    50: '#dedcaf',
    500: '#cfcd8d',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd8d;
$custom-light: #dedcaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd8d",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 141
  },
  "hsl": {
    "h": 58.182,
    "s": 40.741,
    "l": 68.235
  },
  "oklch": {
    "l": 0.83482,
    "c": 0.08344,
    "h": 106.6
  },
  "luminance": 0.58851
}

Semantic roles & 50–950 ramp

primary
#CFCD8D
secondary
#5C5EA4
accent
#36B432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFCD8D

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

Preview Lab → · Contrast checker → · Palette generator →

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