#CFD87D#CFD87D

#CFD87D is a very light, moderate yellow. Relative luminance 0.639; OKLCH L 85.5% C 0.115 H 113.5°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#CFD87D
RGBrgb(207, 216, 125)
HSLhsl(66, 54%, 67%)
HSVhsv(66, 42%, 85%)
CMYKcmyk(4.2%, 0%, 42.1%, 15.3%)
CIE-LABlab(83.89, -16.48, 43.73)
CIE-LCHlch(83.89, 46.73, 110.65°)
OKLaboklab(85.54% -0.0459 0.1058)
OKLCHoklch(85.54% 0.115 113.5)
XYZxyz(53.9903, 63.8586, 28.8798)
Luminance0.6386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD87D #867DD8
analogous
#D8B47D #CFD87D #A2D87D
triadic
#CFD87D #7DCFD8 #D87DCF
tetradic
#CFD87D #7DD8B4 #867DD8 #D87DA2
square
#CFD87D #7DD8B4 #867DD8 #D87DA2
split-complementary
#CFD87D #7DA2D8 #B47DD8
monochromatic
#9DA832 #BECA4E #CFD87D #E0E6AC #F2F4DB

Accessibility & contrast

On white

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

On black

13.77
#CFD87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD87D
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD87D#FFFFFF#000000##000000
##CFD87D1.001.5213.7713.77
#FFFFFF1.521.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D076
Deuteranopia (green-blind)
#E4D281
Tritanopia (blue-blind)
#D9CEC2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd87d;
/* rgb */ color: rgb(207, 216, 125);
/* oklch */ color: oklch(85.5% 0.115 113.5);
Tailwind
colors: {
  custom: {
    50: '#dfe4a4',
    500: '#cfd87d',
    950: '#000000',
  },
}
SCSS
$custom: #cfd87d;
$custom-light: #dfe4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd87d",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 125
  },
  "hsl": {
    "h": 65.934,
    "s": 53.846,
    "l": 66.863
  },
  "oklch": {
    "l": 0.85537,
    "c": 0.11531,
    "h": 113.5
  },
  "luminance": 0.63858
}

Semantic roles & 50–950 ramp

primary
#CFD87D
secondary
#574EAC
accent
#24C134
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD87D

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

Preview Lab → · Contrast checker → · Palette generator →

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