#CFD287#CFD287

#CFD287 is a very light, moderate yellow. Relative luminance 0.611; OKLCH L 84.4% C 0.097 H 110.3°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#CFD287
RGBrgb(207, 210, 135)
HSLhsl(62, 45%, 68%)
HSVhsv(62, 36%, 82%)
CMYKcmyk(1.4%, 0%, 35.7%, 17.6%)
CIE-LABlab(82.44, -12.36, 36.87)
CIE-LCHlch(82.44, 38.89, 108.53°)
OKLaboklab(84.43% -0.0334 0.0907)
OKLCHoklch(84.43% 0.097 110.3)
XYZxyz(53.1524, 61.1087, 31.9121)
Luminance0.6111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD287 #8A87D2
analogous
#D2AF87 #CFD287 #A9D287
triadic
#CFD287 #87CFD2 #D287CF
tetradic
#CFD287 #87D2AF #8A87D2 #D287A9
square
#CFD287 #87D2AF #8A87D2 #D287A9
split-complementary
#CFD287 #87A9D2 #AF87D2
monochromatic
#9EA23D #BDC15A #CFD287 #E1E3B4 #F3F3E0

Accessibility & contrast

On white

1.59
#CFD287 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#CFD287 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD287
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD287#FFFFFF#000000##000000
##CFD2871.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCC82
Deuteranopia (green-blind)
#DECE8A
Tritanopia (blue-blind)
#D9C9BF
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd287;
/* rgb */ color: rgb(207, 210, 135);
/* oklch */ color: oklch(84.4% 0.097 110.3);
Tailwind
colors: {
  custom: {
    50: '#dedfab',
    500: '#cfd287',
    950: '#000000',
  },
}
SCSS
$custom: #cfd287;
$custom-light: #dedfab;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd287",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 135
  },
  "hsl": {
    "h": 62.4,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.84425,
    "c": 0.09662,
    "h": 110.3
  },
  "luminance": 0.61108
}

Semantic roles & 50–950 ramp

primary
#CFD287
secondary
#5A56A7
accent
#2DB932
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFD287

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

Preview Lab → · Contrast checker → · Palette generator →

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