#CFCA88#CFCA88

#CFCA88 is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.8% C 0.086 H 104.4°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#CFCA88
RGBrgb(207, 202, 136)
HSLhsl(56, 43%, 67%)
HSVhsv(56, 34%, 81%)
CMYKcmyk(0%, 2.4%, 34.3%, 18.8%)
CIE-LABlab(80.34, -8.17, 33.63)
CIE-LCHlch(80.34, 34.61, 103.65°)
OKLaboklab(82.77% -0.0214 0.0832)
OKLCHoklch(82.77% 0.086 104.4)
XYZxyz(51.2972, 57.2851, 31.6427)
Luminance0.5728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA88 #888DCF
analogous
#CFA788 #CFCA88 #B0CF88
triadic
#CFCA88 #88CFCA #CA88CF
tetradic
#CFCA88 #88CFA7 #888DCF #CF88B0
square
#CFCA88 #88CFA7 #888DCF #CF88B0
split-complementary
#CFCA88 #88B0CF #A788CF
monochromatic
#9D973F #BDB75C #CFCA88 #E1DDB4 #F2F1DF

Accessibility & contrast

On white

1.69
#CFCA88 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#CFCA88 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA88
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA88#FFFFFF#000000##000000
##CFCA881.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C583
Deuteranopia (green-blind)
#D7C98B
Tritanopia (blue-blind)
#D9C2B9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfca88;
/* rgb */ color: rgb(207, 202, 136);
/* oklch */ color: oklch(82.8% 0.086 104.4);
Tailwind
colors: {
  custom: {
    50: '#dedaab',
    500: '#cfca88',
    950: '#000000',
  },
}
SCSS
$custom: #cfca88;
$custom-light: #dedaab;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca88",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 136
  },
  "hsl": {
    "h": 55.775,
    "s": 42.515,
    "l": 67.255
  },
  "oklch": {
    "l": 0.82765,
    "c": 0.08588,
    "h": 104.4
  },
  "luminance": 0.57284
}

Semantic roles & 50–950 ramp

primary
#CFCA88
secondary
#585DA3
accent
#39B630
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFCA88

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

Preview Lab → · Contrast checker → · Palette generator →

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