#CFCC8B#CFCC8B

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

Color values

HEX#CFCC8B
RGBrgb(207, 204, 139)
HSLhsl(57, 41%, 68%)
HSVhsv(57, 33%, 81%)
CMYKcmyk(0%, 1.4%, 32.9%, 18.8%)
CIE-LABlab(80.91, -8.83, 32.83)
CIE-LCHlch(80.91, 34.00, 105.06°)
OKLaboklab(83.24% -0.0231 0.0814)
OKLCHoklch(83.24% 0.085 105.9)
XYZxyz(51.9857, 58.3162, 32.9387)
Luminance0.5831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC8B #8B8ECF
analogous
#CFAA8B #CFCC8B #B0CF8B
triadic
#CFCC8B #8BCFCC #CC8BCF
tetradic
#CFCC8B #8BCFAA #8B8ECF #CF8BB0
square
#CFCC8B #8BCFAA #8B8ECF #CF8BB0
split-complementary
#CFCC8B #8BB0CF #AA8BCF
monochromatic
#9E9A41 #BDB960 #CFCC8B #E1DFB6 #F3F2E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCC8B#FFFFFF#000000##000000
##CFCC8B1.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)
#D7C786
Deuteranopia (green-blind)
#D8CA8E
Tritanopia (blue-blind)
#D9C4BB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcc8b;
/* rgb */ color: rgb(207, 204, 139);
/* oklch */ color: oklch(83.2% 0.085 105.9);
Tailwind
colors: {
  custom: {
    50: '#dedbad',
    500: '#cfcc8b',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc8b;
$custom-light: #dedbad;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc8b",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 139
  },
  "hsl": {
    "h": 57.353,
    "s": 41.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.83236,
    "c": 0.08465,
    "h": 105.9
  },
  "luminance": 0.58315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFCC8B

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

Preview Lab → · Contrast checker → · Palette generator →

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