#CFCE87#CFCE87

#CFCE87 is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.6% C 0.092 H 107.5°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#CFCE87
RGBrgb(207, 206, 135)
HSLhsl(59, 43%, 67%)
HSVhsv(59, 35%, 81%)
CMYKcmyk(0%, 0.5%, 34.8%, 18.8%)
CIE-LABlab(81.38, -10.33, 35.50)
CIE-LCHlch(81.38, 36.97, 106.23°)
OKLaboklab(83.58% -0.0276 0.0875)
OKLCHoklch(83.58% 0.092 107.5)
XYZxyz(52.1771, 59.1583, 31.5870)
Luminance0.5916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE87 #8788CF
analogous
#CFAA87 #CFCE87 #ACCF87
triadic
#CFCE87 #87CFCE #CE87CF
tetradic
#CFCE87 #87CFAA #8788CF #CF87AC
square
#CFCE87 #87CFAA #8788CF #CF87AC
split-complementary
#CFCE87 #87ACCF #AA87CF
monochromatic
#9D9C3F #BEBC5B #CFCE87 #E0E0B3 #F2F2DE

Accessibility & contrast

On white

1.64
#CFCE87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#CFCE87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE87
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE87#FFFFFF#000000##000000
##CFCE871.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C882
Deuteranopia (green-blind)
#DBCC8A
Tritanopia (blue-blind)
#D9C5BC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfce87;
/* rgb */ color: rgb(207, 206, 135);
/* oklch */ color: oklch(83.6% 0.092 107.5);
Tailwind
colors: {
  custom: {
    50: '#dedcab',
    500: '#cfce87',
    950: '#000000',
  },
}
SCSS
$custom: #cfce87;
$custom-light: #dedcab;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce87",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 135
  },
  "hsl": {
    "h": 59.167,
    "s": 42.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.83584,
    "c": 0.09175,
    "h": 107.5
  },
  "luminance": 0.59157
}

Semantic roles & 50–950 ramp

primary
#CFCE87
secondary
#5859A3
accent
#31B630
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFCE87

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

Preview Lab → · Contrast checker → · Palette generator →

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