#CFDA87#CFDA87

#CFDA87 is a very light, moderate yellow. Relative luminance 0.652; OKLCH L 86.1% C 0.107 H 114.8°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#CFDA87
RGBrgb(207, 218, 135)
HSLhsl(68, 53%, 69%)
HSVhsv(68, 38%, 85%)
CMYKcmyk(5%, 0%, 38.1%, 14.5%)
CIE-LABlab(84.57, -16.37, 39.61)
CIE-LCHlch(84.57, 42.86, 112.45°)
OKLaboklab(86.12% -0.0449 0.0969)
OKLCHoklch(86.12% 0.107 114.8)
XYZxyz(55.1770, 65.1581, 32.5870)
Luminance0.6516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDA87 #9287DA
analogous
#DABC87 #CFDA87 #A6DA87
triadic
#CFDA87 #87CFDA #DA87CF
tetradic
#CFDA87 #87DABC #9287DA #DA87A6
square
#CFDA87 #87DABC #9287DA #DA87A6
split-complementary
#CFDA87 #87A6DA #BC87DA
monochromatic
#A0B036 #BCCC58 #CFDA87 #E2E8B6 #F4F7E5

Accessibility & contrast

On white

1.50
#CFDA87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.03
#CFDA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDA87
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDA87#FFFFFF#000000##000000
##CFDA871.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D281
Deuteranopia (green-blind)
#E4D48B
Tritanopia (blue-blind)
#D8D1C5
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #cfda87;
/* rgb */ color: rgb(207, 218, 135);
/* oklch */ color: oklch(86.1% 0.107 114.8);
Tailwind
colors: {
  custom: {
    50: '#dfe5ab',
    500: '#cfda87',
    950: '#000000',
  },
}
SCSS
$custom: #cfda87;
$custom-light: #dfe5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cfda87",
  "rgb": {
    "r": 207,
    "g": 218,
    "b": 135
  },
  "hsl": {
    "h": 67.952,
    "s": 52.866,
    "l": 69.216
  },
  "oklch": {
    "l": 0.86119,
    "c": 0.10682,
    "h": 114.8
  },
  "luminance": 0.65157
}

Semantic roles & 50–950 ramp

primary
#CFDA87
secondary
#6155B1
accent
#25C03A
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFDA87

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

Preview Lab → · Contrast checker → · Palette generator →

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