#CFCD9D#CFCD9D

#CFCD9D is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 83.8% C 0.064 H 105.7°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#CFCD9D
RGBrgb(207, 205, 157)
HSLhsl(58, 34%, 71%)
HSVhsv(58, 24%, 81%)
CMYKcmyk(0%, 1%, 24.2%, 18.8%)
CIE-LABlab(81.49, -7.00, 24.23)
CIE-LCHlch(81.49, 25.22, 106.12°)
OKLaboklab(83.8% -0.0172 0.0613)
OKLCHoklch(83.8% 0.064 105.7)
XYZxyz(53.6492, 59.3632, 40.5238)
Luminance0.5936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD9D #9D9FCF
analogous
#CFB49D #CFCD9D #B8CF9D
triadic
#CFCD9D #9DCFCD #CD9DCF
tetradic
#CFCD9D #9DCFB4 #9D9FCF #CF9DB8
square
#CFCD9D #9DCFB4 #9D9FCF #CF9DB8
split-complementary
#CFCD9D #9DB8CF #B49DCF
monochromatic
#A29F4F #BBB874 #CFCD9D #E3E2C6 #F5F5EA

Accessibility & contrast

On white

1.63
#CFCD9D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#CFCD9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD9D
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD9D#FFFFFF#000000##000000
##CFCD9D1.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C99A
Deuteranopia (green-blind)
#D7CC9F
Tritanopia (blue-blind)
#D7C7C0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcd9d;
/* rgb */ color: rgb(207, 205, 157);
/* oklch */ color: oklch(83.8% 0.064 105.7);
Tailwind
colors: {
  custom: {
    50: '#dedcba',
    500: '#cfcd9d',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd9d;
$custom-light: #dedcba;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd9d",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 157
  },
  "hsl": {
    "h": 57.6,
    "s": 34.247,
    "l": 71.373
  },
  "oklch": {
    "l": 0.83796,
    "c": 0.06371,
    "h": 105.7
  },
  "luminance": 0.59362
}

Semantic roles & 50–950 ramp

primary
#CFCD9D
secondary
#6C6EA5
accent
#3DAD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCD9D

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

Preview Lab → · Contrast checker → · Palette generator →

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