#CFD882#CFD882

#CFD882 is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 85.6% C 0.110 H 113.6°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#CFD882
RGBrgb(207, 216, 130)
HSLhsl(66, 52%, 68%)
HSVhsv(66, 40%, 85%)
CMYKcmyk(4.2%, 0%, 39.8%, 15.3%)
CIE-LABlab(83.96, -15.94, 41.34)
CIE-LCHlch(83.96, 44.30, 111.08°)
OKLaboklab(85.61% -0.044 0.1006)
OKLCHoklch(85.61% 0.11 113.6)
XYZxyz(54.3177, 63.9895, 30.6045)
Luminance0.6399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD882 #8B82D8
analogous
#D8B682 #CFD882 #A4D882
triadic
#CFD882 #82CFD8 #D882CF
tetradic
#CFD882 #82D8B6 #8B82D8 #D882A4
square
#CFD882 #82D8B6 #8B82D8 #D882A4
split-complementary
#CFD882 #82A4D8 #B682D8
monochromatic
#9EAA35 #BDC953 #CFD882 #E1E7B1 #F3F5DF

Accessibility & contrast

On white

1.52
#CFD882 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#CFD882 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD882
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD882#FFFFFF#000000##000000
##CFD8821.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D07B
Deuteranopia (green-blind)
#E3D286
Tritanopia (blue-blind)
#D9CFC3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd882;
/* rgb */ color: rgb(207, 216, 130);
/* oklch */ color: oklch(85.6% 0.110 113.6);
Tailwind
colors: {
  custom: {
    50: '#dfe4a7',
    500: '#cfd882',
    950: '#000000',
  },
}
SCSS
$custom: #cfd882;
$custom-light: #dfe4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd882",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 130
  },
  "hsl": {
    "h": 66.279,
    "s": 52.439,
    "l": 67.843
  },
  "oklch": {
    "l": 0.85614,
    "c": 0.10984,
    "h": 113.6
  },
  "luminance": 0.63989
}

Semantic roles & 50–950 ramp

primary
#CFD882
secondary
#5A50AE
accent
#26C036
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD882

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

Preview Lab → · Contrast checker → · Palette generator →

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