#CFE186#CFE186

#CFE186 is a very light, moderate yellow-green. Relative luminance 0.688; OKLCH L 87.6% C 0.117 H 118.0°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#CFE186
RGBrgb(207, 225, 134)
HSLhsl(72, 60%, 70%)
HSVhsv(72, 40%, 88%)
CMYKcmyk(8%, 0%, 40.4%, 11.8%)
CIE-LABlab(86.42, -19.93, 42.47)
CIE-LCHlch(86.42, 46.92, 115.14°)
OKLaboklab(87.6% -0.0551 0.1034)
OKLCHoklch(87.6% 0.117 118)
XYZxyz(56.9606, 68.8374, 32.8358)
Luminance0.6884 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE186 #9886E1
analogous
#E1C586 #CFE186 #A1E186
triadic
#CFE186 #86CFE1 #E186CF
tetradic
#CFE186 #86E1C5 #9886E1 #E186A1
square
#CFE186 #86E1C5 #9886E1 #E186A1
split-complementary
#CFE186 #86A1E1 #C586E1
monochromatic
#A1BE2F #BCD555 #CFE186 #E2EDB7 #F5F9E6

Accessibility & contrast

On white

1.42
#CFE186 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.77
#CFE186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE186
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE186#FFFFFF#000000##000000
##CFE1861.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD87F
Deuteranopia (green-blind)
#EAD98A
Tritanopia (blue-blind)
#D7D8CB
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #cfe186;
/* rgb */ color: rgb(207, 225, 134);
/* oklch */ color: oklch(87.6% 0.117 118.0);
Tailwind
colors: {
  custom: {
    50: '#dfeaaa',
    500: '#cfe186',
    950: '#000000',
  },
}
SCSS
$custom: #cfe186;
$custom-light: #dfeaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe186",
  "rgb": {
    "r": 207,
    "g": 225,
    "b": 134
  },
  "hsl": {
    "h": 71.868,
    "s": 60.265,
    "l": 70.392
  },
  "oklch": {
    "l": 0.87598,
    "c": 0.11717,
    "h": 118
  },
  "luminance": 0.68837
}

Semantic roles & 50–950 ramp

primary
#CFE186
secondary
#6752B9
accent
#1EC83F
background
#FEFEFD
surface
#FCFDF7
border
#D5D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #CFE186

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

Preview Lab → · Contrast checker → · Palette generator →

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