#CFD186#CFD186

#CFD186 is a very light, moderate yellow. Relative luminance 0.606; OKLCH L 84.2% C 0.097 H 109.6°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#CFD186
RGBrgb(207, 209, 134)
HSLhsl(62, 45%, 67%)
HSVhsv(62, 36%, 82%)
CMYKcmyk(1%, 0%, 35.9%, 18%)
CIE-LABlab(82.16, -11.97, 37.02)
CIE-LCHlch(82.16, 38.90, 107.92°)
OKLaboklab(84.2% -0.0324 0.091)
OKLCHoklch(84.2% 0.097 109.6)
XYZxyz(52.8362, 60.5885, 31.4610)
Luminance0.6059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD186 #8886D1
analogous
#D1AE86 #CFD186 #AAD186
triadic
#CFD186 #86CFD1 #D186CF
tetradic
#CFD186 #86D1AE #8886D1 #D186AA
square
#CFD186 #86D1AE #8886D1 #D186AA
split-complementary
#CFD186 #86AAD1 #AE86D1
monochromatic
#9DA03D #BDC05A #CFD186 #E1E2B2 #F2F3DF

Accessibility & contrast

On white

1.60
#CFD186 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.12
#CFD186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD186
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD186#FFFFFF#000000##000000
##CFD1861.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCB81
Deuteranopia (green-blind)
#DDCE89
Tritanopia (blue-blind)
#D9C8BE
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfd186;
/* rgb */ color: rgb(207, 209, 134);
/* oklch */ color: oklch(84.2% 0.097 109.6);
Tailwind
colors: {
  custom: {
    50: '#dfdfaa',
    500: '#cfd186',
    950: '#000000',
  },
}
SCSS
$custom: #cfd186;
$custom-light: #dfdfaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd186",
  "rgb": {
    "r": 207,
    "g": 209,
    "b": 134
  },
  "hsl": {
    "h": 61.6,
    "s": 44.91,
    "l": 67.255
  },
  "oklch": {
    "l": 0.84198,
    "c": 0.09655,
    "h": 109.6
  },
  "luminance": 0.60588
}

Semantic roles & 50–950 ramp

primary
#CFD186
secondary
#5856A5
accent
#2DB831
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFD186

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

Preview Lab → · Contrast checker → · Palette generator →

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