#CFD587#CFD587

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

Color values

HEX#CFD587
RGBrgb(207, 213, 135)
HSLhsl(65, 48%, 68%)
HSVhsv(65, 37%, 84%)
CMYKcmyk(2.8%, 0%, 36.6%, 16.5%)
CIE-LABlab(83.23, -13.87, 37.90)
CIE-LCHlch(83.23, 40.36, 110.10°)
OKLaboklab(85.06% -0.0378 0.093)
OKLCHoklch(85.06% 0.1 112.1)
XYZxyz(53.9000, 62.6039, 32.1613)
Luminance0.6260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD587 #8D87D5
analogous
#D5B487 #CFD587 #A8D587
triadic
#CFD587 #87CFD5 #D587CF
tetradic
#CFD587 #87D5B4 #8D87D5 #D587A8
square
#CFD587 #87D5B4 #8D87D5 #D587A8
split-complementary
#CFD587 #87A8D5 #B487D5
monochromatic
#9FA73A #BDC55A #CFD587 #E1E5B4 #F3F5E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD587#FFFFFF#000000##000000
##CFD5871.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)
#E0CE81
Deuteranopia (green-blind)
#E0D08A
Tritanopia (blue-blind)
#D8CCC2
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd587;
/* rgb */ color: rgb(207, 213, 135);
/* oklch */ color: oklch(85.1% 0.100 112.1);
Tailwind
colors: {
  custom: {
    50: '#dfe1ab',
    500: '#cfd587',
    950: '#000000',
  },
}
SCSS
$custom: #cfd587;
$custom-light: #dfe1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd587",
  "rgb": {
    "r": 207,
    "g": 213,
    "b": 135
  },
  "hsl": {
    "h": 64.615,
    "s": 48.148,
    "l": 68.235
  },
  "oklch": {
    "l": 0.85059,
    "c": 0.1004,
    "h": 112.1
  },
  "luminance": 0.62603
}

Semantic roles & 50–950 ramp

primary
#CFD587
secondary
#5C55AB
accent
#2ABB35
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFD587

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

Preview Lab → · Contrast checker → · Palette generator →

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