#CFD986#CFD986

#CFD986 is a very light, moderate yellow. Relative luminance 0.646; OKLCH L 85.9% C 0.107 H 114.3°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#CFD986
RGBrgb(207, 217, 134)
HSLhsl(67, 52%, 69%)
HSVhsv(67, 38%, 85%)
CMYKcmyk(4.6%, 0%, 38.2%, 14.9%)
CIE-LABlab(84.28, -15.98, 39.75)
CIE-LCHlch(84.28, 42.84, 111.91°)
OKLaboklab(85.89% -0.0439 0.0972)
OKLCHoklch(85.89% 0.107 114.3)
XYZxyz(54.8484, 64.6130, 32.1318)
Luminance0.6461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD986 #9086D9
analogous
#D9BA86 #CFD986 #A6D986
triadic
#CFD986 #86CFD9 #D986CF
tetradic
#CFD986 #86D9BA #9086D9 #D986A6
square
#CFD986 #86D9BA #9086D9 #D986A6
split-complementary
#CFD986 #86A6D9 #BA86D9
monochromatic
#A0AE37 #BDCA57 #CFD986 #E1E8B5 #F4F6E3

Accessibility & contrast

On white

1.51
#CFD986 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.92
#CFD986 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD986
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD986#FFFFFF#000000##000000
##CFD9861.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D180
Deuteranopia (green-blind)
#E4D38A
Tritanopia (blue-blind)
#D8D0C4
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfd986;
/* rgb */ color: rgb(207, 217, 134);
/* oklch */ color: oklch(85.9% 0.107 114.3);
Tailwind
colors: {
  custom: {
    50: '#dfe4aa',
    500: '#cfd986',
    950: '#000000',
  },
}
SCSS
$custom: #cfd986;
$custom-light: #dfe4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd986",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 134
  },
  "hsl": {
    "h": 67.229,
    "s": 52.201,
    "l": 68.824
  },
  "oklch": {
    "l": 0.8589,
    "c": 0.10666,
    "h": 114.3
  },
  "luminance": 0.64612
}

Semantic roles & 50–950 ramp

primary
#CFD986
secondary
#5F54AF
accent
#26C038
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFD986

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

Preview Lab → · Contrast checker → · Palette generator →

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