#CFD87E#CFD87E

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

Color values

HEX#CFD87E
RGBrgb(207, 216, 126)
HSLhsl(66, 54%, 67%)
HSVhsv(66, 42%, 85%)
CMYKcmyk(4.2%, 0%, 41.7%, 15.3%)
CIE-LABlab(83.91, -16.37, 43.25)
CIE-LCHlch(83.91, 46.24, 110.73°)
OKLaboklab(85.55% -0.0455 0.1048)
OKLCHoklch(85.55% 0.114 113.5)
XYZxyz(54.0545, 63.8842, 29.2179)
Luminance0.6388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD87E #877ED8
analogous
#D8B47E #CFD87E #A2D87E
triadic
#CFD87E #7ECFD8 #D87ECF
tetradic
#CFD87E #7ED8B4 #877ED8 #D87EA2
square
#CFD87E #7ED8B4 #877ED8 #D87EA2
split-complementary
#CFD87E #7EA2D8 #B47ED8
monochromatic
#9DA933 #BECA4F #CFD87E #E0E6AD #F2F4DC

Accessibility & contrast

On white

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

On black

13.78
#CFD87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD87E
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD87E#FFFFFF#000000##000000
##CFD87E1.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D077
Deuteranopia (green-blind)
#E4D282
Tritanopia (blue-blind)
#D9CFC2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd87e;
/* rgb */ color: rgb(207, 216, 126);
/* oklch */ color: oklch(85.6% 0.114 113.5);
Tailwind
colors: {
  custom: {
    50: '#dfe4a5',
    500: '#cfd87e',
    950: '#000000',
  },
}
SCSS
$custom: #cfd87e;
$custom-light: #dfe4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd87e",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 126
  },
  "hsl": {
    "h": 66,
    "s": 53.571,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85552,
    "c": 0.11423,
    "h": 113.5
  },
  "luminance": 0.63883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFD87E

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

Preview Lab → · Contrast checker → · Palette generator →

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