#CFD87F#CFD87F

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

Color values

HEX#CFD87F
RGBrgb(207, 216, 127)
HSLhsl(66, 53%, 67%)
HSVhsv(66, 41%, 85%)
CMYKcmyk(4.2%, 0%, 41.2%, 15.3%)
CIE-LABlab(83.92, -16.26, 42.77)
CIE-LCHlch(83.92, 45.76, 110.82°)
OKLaboklab(85.57% -0.0452 0.1037)
OKLCHoklch(85.57% 0.113 113.5)
XYZxyz(54.1193, 63.9102, 29.5595)
Luminance0.6391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD87F #887FD8
analogous
#D8B47F #CFD87F #A3D87F
triadic
#CFD87F #7FCFD8 #D87FCF
tetradic
#CFD87F #7FD8B4 #887FD8 #D87FA3
square
#CFD87F #7FD8B4 #887FD8 #D87FA3
split-complementary
#CFD87F #7FA3D8 #B47FD8
monochromatic
#9DA934 #BDCA50 #CFD87F #E1E6AE #F2F5DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD87F#FFFFFF#000000##000000
##CFD87F1.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)
#E4D078
Deuteranopia (green-blind)
#E3D283
Tritanopia (blue-blind)
#D9CFC2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd87f;
/* rgb */ color: rgb(207, 216, 127);
/* oklch */ color: oklch(85.6% 0.113 113.5);
Tailwind
colors: {
  custom: {
    50: '#dfe4a5',
    500: '#cfd87f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd87f;
$custom-light: #dfe4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd87f",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 66.067,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.85568,
    "c": 0.11314,
    "h": 113.5
  },
  "luminance": 0.63909
}

Semantic roles & 50–950 ramp

primary
#CFD87F
secondary
#584FAC
accent
#25C135
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD87F

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

Preview Lab → · Contrast checker → · Palette generator →

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