#CFCA9D#CFCA9D

#CFCA9D is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 83.2% C 0.060 H 102.3°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#CFCA9D
RGBrgb(207, 202, 157)
HSLhsl(54, 34%, 71%)
HSVhsv(54, 24%, 81%)
CMYKcmyk(0%, 2.4%, 24.2%, 18.8%)
CIE-LABlab(80.71, -5.45, 23.15)
CIE-LCHlch(80.71, 23.79, 103.25°)
OKLaboklab(83.18% -0.0128 0.0587)
OKLCHoklch(83.18% 0.06 102.3)
XYZxyz(52.9385, 57.9417, 40.2869)
Luminance0.5794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA9D #9DA2CF
analogous
#CFB19D #CFCA9D #BBCF9D
triadic
#CFCA9D #9DCFCA #CA9DCF
tetradic
#CFCA9D #9DCFB1 #9DA2CF #CF9DBB
square
#CFCA9D #9DCFB1 #9DA2CF #CF9DBB
split-complementary
#CFCA9D #9DBBCF #B19DCF
monochromatic
#A29A4F #BBB474 #CFCA9D #E3E0C6 #F5F4EA

Accessibility & contrast

On white

1.67
#CFCA9D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#CFCA9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA9D
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA9D#FFFFFF#000000##000000
##CFCA9D1.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C79A
Deuteranopia (green-blind)
#D4CA9F
Tritanopia (blue-blind)
#D7C4BE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfca9d;
/* rgb */ color: rgb(207, 202, 157);
/* oklch */ color: oklch(83.2% 0.060 102.3);
Tailwind
colors: {
  custom: {
    50: '#dedaba',
    500: '#cfca9d',
    950: '#000000',
  },
}
SCSS
$custom: #cfca9d;
$custom-light: #dedaba;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca9d",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 157
  },
  "hsl": {
    "h": 54,
    "s": 34.247,
    "l": 71.373
  },
  "oklch": {
    "l": 0.83176,
    "c": 0.06011,
    "h": 102.3
  },
  "luminance": 0.57941
}

Semantic roles & 50–950 ramp

primary
#CFCA9D
secondary
#6C71A5
accent
#44AD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CFCA9D

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

Preview Lab → · Contrast checker → · Palette generator →

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