#CFCF8D#CFCF8D

#CFCF8D is a very light, moderate yellow. Relative luminance 0.598; OKLCH L 83.9% C 0.086 H 108.1°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#CFCF8D
RGBrgb(207, 207, 141)
HSLhsl(60, 41%, 68%)
HSVhsv(60, 32%, 81%)
CMYKcmyk(0%, 0%, 31.9%, 18.8%)
CIE-LABlab(81.74, -10.12, 32.89)
CIE-LCHlch(81.74, 34.41, 107.10°)
OKLaboklab(83.9% -0.0267 0.0816)
OKLCHoklch(83.9% 0.086 108.1)
XYZxyz(52.8530, 59.8150, 33.9553)
Luminance0.5981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF8D #8D8DCF
analogous
#CFAE8D #CFCF8D #AECF8D
triadic
#CFCF8D #8DCFCF #CF8DCF
tetradic
#CFCF8D #8DCFAE #8D8DCF #CF8DAE
square
#CFCF8D #8DCFAE #8D8DCF #CF8DAE
split-complementary
#CFCF8D #8DAECF #AE8DCF
monochromatic
#9F9F43 #BDBD62 #CFCF8D #E1E1B8 #F3F3E3

Accessibility & contrast

On white

1.62
#CFCF8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#CFCF8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF8D
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF8D#FFFFFF#000000##000000
##CFCF8D1.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9CA88
Deuteranopia (green-blind)
#DBCC90
Tritanopia (blue-blind)
#D8C7BE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfcf8d;
/* rgb */ color: rgb(207, 207, 141);
/* oklch */ color: oklch(83.9% 0.086 108.1);
Tailwind
colors: {
  custom: {
    50: '#deddaf',
    500: '#cfcf8d',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf8d;
$custom-light: #deddaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf8d",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 141
  },
  "hsl": {
    "h": 60,
    "s": 40.741,
    "l": 68.235
  },
  "oklch": {
    "l": 0.839,
    "c": 0.08587,
    "h": 108.1
  },
  "luminance": 0.59814
}

Semantic roles & 50–950 ramp

primary
#CFCF8D
secondary
#5C5CA4
accent
#32B432
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFCF8D

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

Preview Lab → · Contrast checker → · Palette generator →

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