#CFCD8F#CFCD8F

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

Color values

HEX#CFCD8F
RGBrgb(207, 205, 143)
HSLhsl(58, 40%, 69%)
HSVhsv(58, 31%, 81%)
CMYKcmyk(0%, 1%, 30.9%, 18.8%)
CIE-LABlab(81.24, -8.85, 31.20)
CIE-LCHlch(81.24, 32.43, 105.84°)
OKLaboklab(83.52% -0.023 0.0777)
OKLCHoklch(83.52% 0.081 106.5)
XYZxyz(52.5217, 58.9122, 34.5857)
Luminance0.5891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD8F #8F91CF
analogous
#CFAD8F #CFCD8F #B1CF8F
triadic
#CFCD8F #8FCFCD #CD8FCF
tetradic
#CFCD8F #8FCFAD #8F91CF #CF8FB1
square
#CFCD8F #8FCFAD #8F91CF #CF8FB1
split-complementary
#CFCD8F #8FB1CF #AD8FCF
monochromatic
#9F9C44 #BDBA64 #CFCD8F #E1E0BA #F4F3E5

Accessibility & contrast

On white

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

On black

12.78
#CFCD8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD8F
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD8F#FFFFFF#000000##000000
##CFCD8F1.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfcd8f;
/* rgb */ color: rgb(207, 205, 143);
/* oklch */ color: oklch(83.5% 0.081 106.5);
Tailwind
colors: {
  custom: {
    50: '#dedcb0',
    500: '#cfcd8f',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd8f;
$custom-light: #dedcb0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd8f",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 143
  },
  "hsl": {
    "h": 58.125,
    "s": 40,
    "l": 68.627
  },
  "oklch": {
    "l": 0.83519,
    "c": 0.08103,
    "h": 106.5
  },
  "luminance": 0.58911
}

Semantic roles & 50–950 ramp

primary
#CFCD8F
secondary
#5E60A4
accent
#37B332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFCD8F

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

Preview Lab → · Contrast checker → · Palette generator →

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