#CFD786#CFD786

#CFD786 is a very light, moderate yellow. Relative luminance 0.636; OKLCH L 85.5% C 0.104 H 113.2°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#CFD786
RGBrgb(207, 215, 134)
HSLhsl(66, 50%, 68%)
HSVhsv(66, 38%, 84%)
CMYKcmyk(3.7%, 0%, 37.7%, 15.7%)
CIE-LABlab(83.75, -14.99, 39.07)
CIE-LCHlch(83.75, 41.84, 110.99°)
OKLaboklab(85.47% -0.041 0.0957)
OKLCHoklch(85.47% 0.104 113.2)
XYZxyz(54.3360, 63.5882, 31.9610)
Luminance0.6359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD786 #8E86D7
analogous
#D7B686 #CFD786 #A6D786
triadic
#CFD786 #86CFD7 #D786CF
tetradic
#CFD786 #86D7B6 #8E86D7 #D786A6
square
#CFD786 #86D7B6 #8E86D7 #D786A6
split-complementary
#CFD786 #86A6D7 #B686D7
monochromatic
#9FAA38 #BDC858 #CFD786 #E1E6B4 #F3F5E2

Accessibility & contrast

On white

1.53
#CFD786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#CFD786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD786
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD786#FFFFFF#000000##000000
##CFD7861.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D080
Deuteranopia (green-blind)
#E2D28A
Tritanopia (blue-blind)
#D8CEC3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd786;
/* rgb */ color: rgb(207, 215, 134);
/* oklch */ color: oklch(85.5% 0.104 113.2);
Tailwind
colors: {
  custom: {
    50: '#dfe3aa',
    500: '#cfd786',
    950: '#000000',
  },
}
SCSS
$custom: #cfd786;
$custom-light: #dfe3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd786",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 134
  },
  "hsl": {
    "h": 65.926,
    "s": 50.311,
    "l": 68.431
  },
  "oklch": {
    "l": 0.85466,
    "c": 0.10408,
    "h": 113.2
  },
  "luminance": 0.63588
}

Semantic roles & 50–950 ramp

primary
#CFD786
secondary
#5D54AD
accent
#28BE37
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFD786

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

Preview Lab → · Contrast checker → · Palette generator →

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