#CFCF87#CFCF87

#CFCF87 is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 83.8% C 0.093 H 108.3°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#CFCF87
RGBrgb(207, 207, 135)
HSLhsl(60, 43%, 67%)
HSVhsv(60, 35%, 81%)
CMYKcmyk(0%, 0%, 34.8%, 18.8%)
CIE-LABlab(81.64, -10.84, 35.84)
CIE-LCHlch(81.64, 37.44, 106.83°)
OKLaboklab(83.79% -0.0291 0.0883)
OKLCHoklch(83.79% 0.093 108.3)
XYZxyz(52.4186, 59.6413, 31.6675)
Luminance0.5964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF87 #8787CF
analogous
#CFAB87 #CFCF87 #ABCF87
triadic
#CFCF87 #87CFCF #CF87CF
tetradic
#CFCF87 #87CFAB #8787CF #CF87AB
square
#CFCF87 #87CFAB #8787CF #CF87AB
split-complementary
#CFCF87 #87ABCF #AB87CF
monochromatic
#9D9D3F #BEBE5B #CFCF87 #E0E0B3 #F2F2DE

Accessibility & contrast

On white

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

On black

12.93
#CFCF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF87
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF87#FFFFFF#000000##000000
##CFCF871.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC982
Deuteranopia (green-blind)
#DBCC8A
Tritanopia (blue-blind)
#D9C6BD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfcf87;
/* rgb */ color: rgb(207, 207, 135);
/* oklch */ color: oklch(83.8% 0.093 108.3);
Tailwind
colors: {
  custom: {
    50: '#deddab',
    500: '#cfcf87',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf87;
$custom-light: #deddab;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf87",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 135
  },
  "hsl": {
    "h": 60,
    "s": 42.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.83794,
    "c": 0.09295,
    "h": 108.3
  },
  "luminance": 0.5964
}

Semantic roles & 50–950 ramp

primary
#CFCF87
secondary
#5858A3
accent
#30B630
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFCF87

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

Preview Lab → · Contrast checker → · Palette generator →

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