#CFCA8D#CFCA8D

#CFCA8D is a very light, moderate yellow. Relative luminance 0.574; OKLCH L 82.9% C 0.080 H 104.0°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#CFCA8D
RGBrgb(207, 202, 141)
HSLhsl(55, 41%, 68%)
HSVhsv(55, 32%, 81%)
CMYKcmyk(0%, 2.4%, 31.9%, 18.8%)
CIE-LABlab(80.42, -7.56, 31.15)
CIE-LCHlch(80.42, 32.05, 103.64°)
OKLaboklab(82.86% -0.0194 0.0775)
OKLCHoklch(82.86% 0.08 104)
XYZxyz(51.6608, 57.4306, 33.5579)
Luminance0.5743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA8D #8D92CF
analogous
#CFA98D #CFCA8D #B3CF8D
triadic
#CFCA8D #8DCFCA #CA8DCF
tetradic
#CFCA8D #8DCFA9 #8D92CF #CF8DB3
square
#CFCA8D #8DCFA9 #8D92CF #CF8DB3
split-complementary
#CFCA8D #8DB3CF #A98DCF
monochromatic
#9F9843 #BDB662 #CFCA8D #E1DEB8 #F3F2E3

Accessibility & contrast

On white

1.68
#CFCA8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#CFCA8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA8D
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA8D#FFFFFF#000000##000000
##CFCA8D1.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C689
Deuteranopia (green-blind)
#D7C98F
Tritanopia (blue-blind)
#D9C2BA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfca8d;
/* rgb */ color: rgb(207, 202, 141);
/* oklch */ color: oklch(82.9% 0.080 104.0);
Tailwind
colors: {
  custom: {
    50: '#dedaaf',
    500: '#cfca8d',
    950: '#000000',
  },
}
SCSS
$custom: #cfca8d;
$custom-light: #dedaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca8d",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 141
  },
  "hsl": {
    "h": 55.455,
    "s": 40.741,
    "l": 68.235
  },
  "oklch": {
    "l": 0.82856,
    "c": 0.07991,
    "h": 104
  },
  "luminance": 0.5743
}

Semantic roles & 50–950 ramp

primary
#CFCA8D
secondary
#5C61A4
accent
#3CB432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFCA8D

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

Preview Lab → · Contrast checker → · Palette generator →

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