#CFD86F#CFD86F

#CFD86F is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.3% C 0.130 H 113.2°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#CFD86F
RGBrgb(207, 216, 111)
HSLhsl(65, 57%, 64%)
HSVhsv(65, 49%, 85%)
CMYKcmyk(4.2%, 0%, 48.6%, 15.3%)
CIE-LABlab(83.72, -17.87, 50.29)
CIE-LCHlch(83.72, 53.37, 109.56°)
OKLaboklab(85.34% -0.0511 0.1194)
OKLCHoklch(85.34% 0.13 113.2)
XYZxyz(53.1581, 63.5257, 24.4972)
Luminance0.6352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD86F #786FD8
analogous
#D8AD6F #CFD86F #9BD86F
triadic
#CFD86F #6FCFD8 #D86FCF
tetradic
#CFD86F #6FD8AD #786FD8 #D86F9B
square
#CFD86F #6FD8AD #786FD8 #D86F9B
split-complementary
#CFD86F #6F9BD8 #AD6FD8
monochromatic
#97A12C #BFCB3F #CFD86F #DFE59F #EFF2CF

Accessibility & contrast

On white

1.53
#CFD86F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#CFD86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD86F
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD86F#FFFFFF#000000##000000
##CFD86F1.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF66
Deuteranopia (green-blind)
#E5D274
Tritanopia (blue-blind)
#DACDC0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd86f;
/* rgb */ color: rgb(207, 216, 111);
/* oklch */ color: oklch(85.3% 0.130 113.2);
Tailwind
colors: {
  custom: {
    50: '#dfe49b',
    500: '#cfd86f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd86f;
$custom-light: #dfe49b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd86f",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 111
  },
  "hsl": {
    "h": 65.143,
    "s": 57.377,
    "l": 64.118
  },
  "oklch": {
    "l": 0.85342,
    "c": 0.12983,
    "h": 113.2
  },
  "luminance": 0.63525
}

Semantic roles & 50–950 ramp

primary
#CFD86F
secondary
#4E46A5
accent
#21C52F
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD86F

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

Preview Lab → · Contrast checker → · Palette generator →

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