#CFCF8F#CFCF8F

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

Color values

HEX#CFCF8F
RGBrgb(207, 207, 143)
HSLhsl(60, 40%, 69%)
HSVhsv(60, 31%, 81%)
CMYKcmyk(0%, 0%, 30.9%, 18.8%)
CIE-LABlab(81.77, -9.87, 31.90)
CIE-LCHlch(81.77, 33.39, 107.20°)
OKLaboklab(83.94% -0.0259 0.0794)
OKLCHoklch(83.94% 0.083 108.1)
XYZxyz(53.0032, 59.8751, 34.7462)
Luminance0.5987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF8F #8F8FCF
analogous
#CFAF8F #CFCF8F #AFCF8F
triadic
#CFCF8F #8FCFCF #CF8FCF
tetradic
#CFCF8F #8FCFAF #8F8FCF #CF8FAF
square
#CFCF8F #8FCFAF #8F8FCF #CF8FAF
split-complementary
#CFCF8F #8FAFCF #AF8FCF
monochromatic
#9F9F44 #BDBD64 #CFCF8F #E1E1BA #F4F4E5

Accessibility & contrast

On white

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

On black

12.97
#CFCF8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF8F
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF8F#FFFFFF#000000##000000
##CFCF8F1.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfcf8f;
/* rgb */ color: rgb(207, 207, 143);
/* oklch */ color: oklch(83.9% 0.083 108.1);
Tailwind
colors: {
  custom: {
    50: '#deddb0',
    500: '#cfcf8f',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf8f;
$custom-light: #deddb0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf8f",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 143
  },
  "hsl": {
    "h": 60,
    "s": 40,
    "l": 68.627
  },
  "oklch": {
    "l": 0.83937,
    "c": 0.08347,
    "h": 108.1
  },
  "luminance": 0.59874
}

Semantic roles & 50–950 ramp

primary
#CFCF8F
secondary
#5E5EA4
accent
#32B332
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFCF8F

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

Preview Lab → · Contrast checker → · Palette generator →

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