#CFCA8F#CFCA8F

#CFCA8F is a very light, moderate yellow. Relative luminance 0.575; OKLCH L 82.9% C 0.077 H 103.8°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#CFCA8F
RGBrgb(207, 202, 143)
HSLhsl(55, 40%, 69%)
HSVhsv(55, 31%, 81%)
CMYKcmyk(0%, 2.4%, 30.9%, 18.8%)
CIE-LABlab(80.45, -7.31, 30.15)
CIE-LCHlch(80.45, 31.03, 103.63°)
OKLaboklab(82.89% -0.0185 0.0752)
OKLCHoklch(82.89% 0.077 103.8)
XYZxyz(51.8110, 57.4907, 34.3488)
Luminance0.5749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA8F #8F94CF
analogous
#CFAA8F #CFCA8F #B4CF8F
triadic
#CFCA8F #8FCFCA #CA8FCF
tetradic
#CFCA8F #8FCFAA #8F94CF #CF8FB4
square
#CFCA8F #8FCFAA #8F94CF #CF8FB4
split-complementary
#CFCA8F #8FB4CF #AA8FCF
monochromatic
#9F9844 #BDB664 #CFCA8F #E1DEBA #F4F3E5

Accessibility & contrast

On white

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

On black

12.50
#CFCA8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA8F
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA8F#FFFFFF#000000##000000
##CFCA8F1.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C68B
Deuteranopia (green-blind)
#D6C991
Tritanopia (blue-blind)
#D8C2BB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfca8f;
/* rgb */ color: rgb(207, 202, 143);
/* oklch */ color: oklch(82.9% 0.077 103.8);
Tailwind
colors: {
  custom: {
    50: '#dedab0',
    500: '#cfca8f',
    950: '#000000',
  },
}
SCSS
$custom: #cfca8f;
$custom-light: #dedab0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca8f",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 143
  },
  "hsl": {
    "h": 55.312,
    "s": 40,
    "l": 68.627
  },
  "oklch": {
    "l": 0.82894,
    "c": 0.07749,
    "h": 103.8
  },
  "luminance": 0.5749
}

Semantic roles & 50–950 ramp

primary
#CFCA8F
secondary
#5E63A4
accent
#3DB332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFCA8F

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

Preview Lab → · Contrast checker → · Palette generator →

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