#CFD985#CFD985

#CFD985 is a very light, moderate yellow. Relative luminance 0.646; OKLCH L 85.9% C 0.108 H 114.2°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#CFD985
RGBrgb(207, 217, 133)
HSLhsl(67, 53%, 69%)
HSVhsv(67, 39%, 85%)
CMYKcmyk(4.6%, 0%, 38.7%, 14.9%)
CIE-LABlab(84.27, -16.10, 40.23)
CIE-LCHlch(84.27, 43.33, 111.81°)
OKLaboklab(85.87% -0.0442 0.0983)
OKLCHoklch(85.87% 0.108 114.2)
XYZxyz(54.7790, 64.5852, 31.7662)
Luminance0.6459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD985 #8F85D9
analogous
#D9B985 #CFD985 #A5D985
triadic
#CFD985 #85CFD9 #D985CF
tetradic
#CFD985 #85D9B9 #8F85D9 #D985A5
square
#CFD985 #85D9B9 #8F85D9 #D985A5
split-complementary
#CFD985 #85A5D9 #B985D9
monochromatic
#9FAE36 #BDCA56 #CFD985 #E1E8B4 #F4F6E2

Accessibility & contrast

On white

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

On black

13.92
#CFD985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD985
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD985#FFFFFF#000000##000000
##CFD9851.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfd985;
/* rgb */ color: rgb(207, 217, 133);
/* oklch */ color: oklch(85.9% 0.108 114.2);
Tailwind
colors: {
  custom: {
    50: '#dfe4a9',
    500: '#cfd985',
    950: '#000000',
  },
}
SCSS
$custom: #cfd985;
$custom-light: #dfe4a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd985",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 133
  },
  "hsl": {
    "h": 67.143,
    "s": 52.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.85874,
    "c": 0.10777,
    "h": 114.2
  },
  "luminance": 0.64585
}

Semantic roles & 50–950 ramp

primary
#CFD985
secondary
#5E53AF
accent
#26C038
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFD985

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

Preview Lab → · Contrast checker → · Palette generator →

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