#CFD586#CFD586

#CFD586 is a very light, moderate yellow. Relative luminance 0.626; OKLCH L 85.0% C 0.102 H 112.1°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#CFD586
RGBrgb(207, 213, 134)
HSLhsl(65, 48%, 68%)
HSVhsv(65, 37%, 84%)
CMYKcmyk(2.8%, 0%, 37.1%, 16.5%)
CIE-LABlab(83.22, -13.99, 38.38)
CIE-LCHlch(83.22, 40.85, 110.02°)
OKLaboklab(85.04% -0.0382 0.0941)
OKLCHoklch(85.04% 0.102 112.1)
XYZxyz(53.8299, 62.5759, 31.7923)
Luminance0.6258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD586 #8C86D5
analogous
#D5B386 #CFD586 #A7D586
triadic
#CFD586 #86CFD5 #D586CF
tetradic
#CFD586 #86D5B3 #8C86D5 #D586A7
square
#CFD586 #86D5B3 #8C86D5 #D586A7
split-complementary
#CFD586 #86A7D5 #B386D5
monochromatic
#9EA73A #BDC559 #CFD586 #E1E5B3 #F3F5E1

Accessibility & contrast

On white

1.55
#CFD586 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#CFD586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD586
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD586#FFFFFF#000000##000000
##CFD5861.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CE80
Deuteranopia (green-blind)
#E0D08A
Tritanopia (blue-blind)
#D8CCC1
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd586;
/* rgb */ color: rgb(207, 213, 134);
/* oklch */ color: oklch(85.0% 0.102 112.1);
Tailwind
colors: {
  custom: {
    50: '#dfe1aa',
    500: '#cfd586',
    950: '#000000',
  },
}
SCSS
$custom: #cfd586;
$custom-light: #dfe1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd586",
  "rgb": {
    "r": 207,
    "g": 213,
    "b": 134
  },
  "hsl": {
    "h": 64.557,
    "s": 48.466,
    "l": 68.039
  },
  "oklch": {
    "l": 0.85042,
    "c": 0.10153,
    "h": 112.1
  },
  "luminance": 0.62575
}

Semantic roles & 50–950 ramp

primary
#CFD586
secondary
#5B54AB
accent
#2ABC35
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFD586

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

Preview Lab → · Contrast checker → · Palette generator →

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