#CFD982#CFD982

#CFD982 is a very light, moderate yellow. Relative luminance 0.645; OKLCH L 85.8% C 0.111 H 114.1°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#CFD982
RGBrgb(207, 217, 130)
HSLhsl(67, 53%, 68%)
HSVhsv(67, 40%, 85%)
CMYKcmyk(4.6%, 0%, 40.1%, 14.9%)
CIE-LABlab(84.23, -16.43, 41.67)
CIE-LCHlch(84.23, 44.80, 111.52°)
OKLaboklab(85.83% -0.0454 0.1014)
OKLCHoklch(85.83% 0.111 114.1)
XYZxyz(54.5747, 64.5035, 30.6902)
Luminance0.6450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD982 #8C82D9
analogous
#D9B882 #CFD982 #A3D982
triadic
#CFD982 #82CFD9 #D982CF
tetradic
#CFD982 #82D9B8 #8C82D9 #D982A3
square
#CFD982 #82D9B8 #8C82D9 #D982A3
split-complementary
#CFD982 #82A3D9 #B882D9
monochromatic
#9EAC34 #BDCB53 #CFD982 #E1E7B1 #F3F6E0

Accessibility & contrast

On white

1.51
#CFD982 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#CFD982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD982
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD982#FFFFFF#000000##000000
##CFD9821.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D17B
Deuteranopia (green-blind)
#E4D386
Tritanopia (blue-blind)
#D8D0C4
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfd982;
/* rgb */ color: rgb(207, 217, 130);
/* oklch */ color: oklch(85.8% 0.111 114.1);
Tailwind
colors: {
  custom: {
    50: '#dfe4a7',
    500: '#cfd982',
    950: '#000000',
  },
}
SCSS
$custom: #cfd982;
$custom-light: #dfe4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd982",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 130
  },
  "hsl": {
    "h": 66.897,
    "s": 53.374,
    "l": 68.039
  },
  "oklch": {
    "l": 0.85827,
    "c": 0.11112,
    "h": 114.1
  },
  "luminance": 0.64503
}

Semantic roles & 50–950 ramp

primary
#CFD982
secondary
#5B50AF
accent
#25C137
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#151510
muted
#848480

Preview Lab

Preview with #CFD982

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

Preview Lab → · Contrast checker → · Palette generator →

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