#CFD487#CFD487

#CFD487 is a very light, moderate yellow. Relative luminance 0.621; OKLCH L 84.8% C 0.099 H 111.5°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#CFD487
RGBrgb(207, 212, 135)
HSLhsl(64, 47%, 68%)
HSVhsv(64, 36%, 83%)
CMYKcmyk(2.4%, 0%, 36.3%, 16.9%)
CIE-LABlab(82.97, -13.37, 37.55)
CIE-LCHlch(82.97, 39.86, 109.59°)
OKLaboklab(84.85% -0.0363 0.0922)
OKLCHoklch(84.85% 0.099 111.5)
XYZxyz(53.6492, 62.1024, 32.0777)
Luminance0.6210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD487 #8C87D4
analogous
#D4B287 #CFD487 #A8D487
triadic
#CFD487 #87CFD4 #D487CF
tetradic
#CFD487 #87D4B2 #8C87D4 #D487A8
square
#CFD487 #87D4B2 #8C87D4 #D487A8
split-complementary
#CFD487 #87A8D4 #B287D4
monochromatic
#9EA53B #BDC45A #CFD487 #E1E4B4 #F3F4E1

Accessibility & contrast

On white

1.56
#CFD487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#CFD487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD487
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD487#FFFFFF#000000##000000
##CFD4871.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCD81
Deuteranopia (green-blind)
#DFD08A
Tritanopia (blue-blind)
#D8CBC1
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd487;
/* rgb */ color: rgb(207, 212, 135);
/* oklch */ color: oklch(84.8% 0.099 111.5);
Tailwind
colors: {
  custom: {
    50: '#dfe1ab',
    500: '#cfd487',
    950: '#000000',
  },
}
SCSS
$custom: #cfd487;
$custom-light: #dfe1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd487",
  "rgb": {
    "r": 207,
    "g": 212,
    "b": 135
  },
  "hsl": {
    "h": 63.896,
    "s": 47.239,
    "l": 68.039
  },
  "oklch": {
    "l": 0.84847,
    "c": 0.09913,
    "h": 111.5
  },
  "luminance": 0.62102
}

Semantic roles & 50–950 ramp

primary
#CFD487
secondary
#5B55AA
accent
#2BBA34
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFD487

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

Preview Lab → · Contrast checker → · Palette generator →

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