#CFCC8A#CFCC8A

#CFCC8A is a very light, moderate yellow. Relative luminance 0.583; OKLCH L 83.2% C 0.086 H 105.9°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#CFCC8A
RGBrgb(207, 204, 138)
HSLhsl(57, 42%, 68%)
HSVhsv(57, 33%, 81%)
CMYKcmyk(0%, 1.4%, 33.3%, 18.8%)
CIE-LABlab(80.90, -8.95, 33.33)
CIE-LCHlch(80.90, 34.51, 105.04°)
OKLaboklab(83.22% -0.0235 0.0826)
OKLCHoklch(83.22% 0.086 105.9)
XYZxyz(51.9129, 58.2871, 32.5557)
Luminance0.5829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC8A #8A8DCF
analogous
#CFA98A #CFCC8A #B0CF8A
triadic
#CFCC8A #8ACFCC #CC8ACF
tetradic
#CFCC8A #8ACFA9 #8A8DCF #CF8AB0
square
#CFCC8A #8ACFA9 #8A8DCF #CF8AB0
split-complementary
#CFCC8A #8AB0CF #A98ACF
monochromatic
#9E9A41 #BDB95F #CFCC8A #E1DFB5 #F3F2E1

Accessibility & contrast

On white

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

On black

12.66
#CFCC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC8A
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC8A#FFFFFF#000000##000000
##CFCC8A1.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C785
Deuteranopia (green-blind)
#D9CA8D
Tritanopia (blue-blind)
#D9C4BB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcc8a;
/* rgb */ color: rgb(207, 204, 138);
/* oklch */ color: oklch(83.2% 0.086 105.9);
Tailwind
colors: {
  custom: {
    50: '#dedbad',
    500: '#cfcc8a',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc8a;
$custom-light: #dedbad;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc8a",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 138
  },
  "hsl": {
    "h": 57.391,
    "s": 41.818,
    "l": 67.647
  },
  "oklch": {
    "l": 0.83218,
    "c": 0.08584,
    "h": 105.9
  },
  "luminance": 0.58286
}

Semantic roles & 50–950 ramp

primary
#CFCC8A
secondary
#5A5DA4
accent
#36B531
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFCC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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