#CFCC8D#CFCC8D

#CFCC8D is a very light, moderate yellow. Relative luminance 0.584; OKLCH L 83.3% C 0.082 H 105.7°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#CFCC8D
RGBrgb(207, 204, 141)
HSLhsl(57, 41%, 68%)
HSVhsv(57, 32%, 81%)
CMYKcmyk(0%, 1.4%, 31.9%, 18.8%)
CIE-LABlab(80.95, -8.59, 31.84)
CIE-LCHlch(80.95, 32.98, 105.09°)
OKLaboklab(83.27% -0.0223 0.0792)
OKLCHoklch(83.27% 0.082 105.7)
XYZxyz(52.1331, 58.3752, 33.7154)
Luminance0.5837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC8D #8D90CF
analogous
#CFAB8D #CFCC8D #B1CF8D
triadic
#CFCC8D #8DCFCC #CC8DCF
tetradic
#CFCC8D #8DCFAB #8D90CF #CF8DB1
square
#CFCC8D #8DCFAB #8D90CF #CF8DB1
split-complementary
#CFCC8D #8DB1CF #AB8DCF
monochromatic
#9F9B43 #BDB962 #CFCC8D #E1DFB8 #F3F3E3

Accessibility & contrast

On white

1.66
#CFCC8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#CFCC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC8D
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC8D#FFFFFF#000000##000000
##CFCC8D1.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C789
Deuteranopia (green-blind)
#D8CA8F
Tritanopia (blue-blind)
#D8C4BC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcc8d;
/* rgb */ color: rgb(207, 204, 141);
/* oklch */ color: oklch(83.3% 0.082 105.7);
Tailwind
colors: {
  custom: {
    50: '#dedbaf',
    500: '#cfcc8d',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc8d;
$custom-light: #dedbaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc8d",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 141
  },
  "hsl": {
    "h": 57.273,
    "s": 40.741,
    "l": 68.235
  },
  "oklch": {
    "l": 0.83273,
    "c": 0.08225,
    "h": 105.7
  },
  "luminance": 0.58374
}

Semantic roles & 50–950 ramp

primary
#CFCC8D
secondary
#5C5FA4
accent
#38B432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFCC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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